R
Ryan Cooper
Can anyone give me an idea or better yet, a code sample, demonstrating how
to parse a JPEG header and search the header for markers located in the
stream?
Basically, I need to analyze an uploaded JPEG file, search for the markers
C2, C6 and CA in the stream, and then set a variable of some sort to specify
whether or not these markers are present. (The reason I need these is to
determine whether the JPEG is in "Progressive" or "Baseline" format and
perform additional processing on it.) I have been told this should be easy,
but I don't quite know where to start on this. Any example in VB or C# would
be greatly appreciated!
Thanks in advance!
Ryan
to parse a JPEG header and search the header for markers located in the
stream?
Basically, I need to analyze an uploaded JPEG file, search for the markers
C2, C6 and CA in the stream, and then set a variable of some sort to specify
whether or not these markers are present. (The reason I need these is to
determine whether the JPEG is in "Progressive" or "Baseline" format and
perform additional processing on it.) I have been told this should be easy,
but I don't quite know where to start on this. Any example in VB or C# would
be greatly appreciated!
Thanks in advance!
Ryan