Im looking to create a class from scratch that will be able to read a JFIF image file and extract all relevant data from it.
I've been reading the JFIF specification and understand the structure of the file type:
SOI;
APP0;
JFIF APP0;
Additional APP0;
Application Specific APP0;
Image Data;
(I think thats right)
The problem is that the begining of any jpg image I try to read from looks a bit like this:
ÿØÿà JFIF H H ÿáYExif MM *
which I don't understand.
The specification says the first 2 bytes should be the total APP0 byte count , then the next five bytes should be the identifier and so on.
thanx in advance for any help.