I am writing a steganography program and I need to figure out where the JPEG header ends and where the image data begins. I know that JPEG's don't officially have a formal header apparently, which makes them a bit more difficult to work with than bitmaps, since their headers aren't a fixed size like bitmap files. So far, I have trashed 3 jpegs with no success. If someone has source code on a JPEG header parser, or just the right jpeg header marker to look for and its length bytes, it would be a great help.
Thanks in advance,
0 · ·