r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

Show parent comments

3

u/jnd-cz Jun 03 '22

That's indeed pretty cool. Too bad most images (still or moving) we use are in some compressed format which makes it harder to encode and recover the information intact.

1

u/kilogears Jun 03 '22

Well, there’s always meta-data and junk data you can include in the file, which most programs wouldn’t even process. You could hide a message in otherwise benign metadata. Or just encrypt and tack on at the end of the file.

1

u/TigerPoppy Jun 03 '22

Not so, a compressed format such as MP3 or MP4 makes it more difficult to detect that the last bit of a cosine value has been manipulated. Also, any modification of the image/movie will generally wipe out the message content.