Hacker News new | ask | show | jobs
by pretext-1 659 days ago
Technically they could already do this as JPEG allows adding arbitrary data to the file after the image data. ZIP files allow arbitrary data BEFORE the image data, therefore a file can be a valid JPEG and ZIP at the same time. So all you need to do is to put the MOV into a ZIP and append that to the image file, done. Live Photos in a single file!

Btw., you can abuse the „unlimited“ „free“ photos storage that comes with Amazon Prime that way.

1 comments

I might make a website about this sort of stuff!
You may enjoy the https://pocorgtfo.hacke.rs/ zine where every release is a polyglot file. Some of the PDFs are bootable systems, some are NES cartridges, etc.
That was indeed an inspiration for lab6.com.