compression - How does hiding files in jpeg file works -


i reading article explaining how hide files in jpeg pictures.

i wondering how it's possible file contain both jpeg data , rar file without visible distortion either image or compressed file.

my guess has how either compressed file or jpeg file represented in binary form, have no idea how works.

can elaborate on that?

all doing adding archive end of jpeg stream. hope jpeg decoder not read past eoi marker, find data there, , wrong.

a jpeg image stream of bytes starting soi marker , ending eoi marker.

zip , rar streams of byte. zip stream starts 50 4b. rar stream starts 52 61 72 21 1a 07.

the method described in link above takes binary copy of (multiple) jpeg stream , appends zip or rar stream it.

the rar/zip decoders scan stream until find signature rar or zip (ignoring jpeg stream).


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -