Interstellar_1@lemmy.blahaj.zone to Showerthoughts@lemmy.world · edit-23 months agoMost many file types are just a renamed .zipmessage-squaremessage-square45fedilinkarrow-up1119arrow-down125
arrow-up194arrow-down1message-squareMost many file types are just a renamed .zipInterstellar_1@lemmy.blahaj.zone to Showerthoughts@lemmy.world · edit-23 months agomessage-square45fedilink
minus-squarefine_sandy_bottom@lemmy.federate.cclinkfedilinkarrow-up17arrow-down1·3 months agoNot really. The “file types” you’re talking about are expected to contain whatever things in a very specific format. You’re really just saying “many file types use an efficient and common compression algorithm”. Which is correct, obvious, and to be expected.
minus-squareboletus@sh.itjust.workslinkfedilinkarrow-up2·3 months agoA .docx is just a zip file with xml documents in it.
minus-squarefine_sandy_bottom@lemmy.federate.cclinkfedilinkarrow-up1·3 months agoWhat happens if I put an mp3 or an epub file in there with the xml? Is it still a word document?
minus-squareboletus@sh.itjust.workslinkfedilinkarrow-up1·3 months agoMaybe, I was just giving an example. Like Java jar files are just zip files with other jars in them.
minus-squarefine_sandy_bottom@lemmy.federate.cclinkfedilinkarrow-up1·3 months agoMy point is that the formats we’re talking about define the content. Like it’s not “just a zip file” merely because it’s compressed. The format defines the data that may be included.
Not really. The “file types” you’re talking about are expected to contain whatever things in a very specific format.
You’re really just saying “many file types use an efficient and common compression algorithm”. Which is correct, obvious, and to be expected.
A .docx is just a zip file with xml documents in it.
What happens if I put an mp3 or an epub file in there with the xml? Is it still a word document?
Maybe, I was just giving an example. Like Java jar files are just zip files with other jars in them.
My point is that the formats we’re talking about define the content. Like it’s not “just a zip file” merely because it’s compressed. The format defines the data that may be included.