I'm searching an easy way to have a file embedded in a jpeg. I'm not trying to hide anything inside but I want to have a the additional information as jpeg "built-in", so I don't need to encrypt anything. I found the EXIF interface but there isn't a tag "additional file", I can add only some metadata like date and so on.
Asked
Active
Viewed 349 times
1 Answers
1
The easiest way would be to just create an archive (e.g. a 7z file) and append the archive file to the end of the jpeg using copy
copy /b image.jpg + data.7z image_with_data.jpg
Alternatively you could embed the information as IPTC data
See
-
Since I have to do it via code, I think I can write at the end of the file in append mode and to save at the end with some signature the original size to have back the additional file. Thanks!! – greywolf82 Jan 02 '14 at 15:25