On Tue, 1 Mar 2005 10:40:59 +0000, AdamT <adwulf@xxxxxxxxx> wrote: > On Tue, 1 Mar 2005 16:06:56 +0530, anirudh dutt <aneroid@xxxxxxxxx> wrote: > > i just opened 4 jpg files...dunno about where the header is...coz i > > didn't find anything common at the begining of the files (so i doesn't > > seem to have a header at the "head"). > > > Okay - so 'header' was a bad choice of word. 'Marker' would have been better: just meant i couldn't find it there. > http://www.funducode.com/freec/Fileformats/format3/format3b.htm very nice info on that page. thanks. quoting... Header : · It occupies two bytes. · 0xff, 0xd8 (SOI : Start Of Image ) (these two identify a JPEG/JFIF file) so u were right about the header bit. and as murphy would have it...i start seeing all the JFIF stuff in the images. turns out my hex editor scrolls to the end so i wasn't actually looking at the headers :P got the footer right ;-) -- ]# Anirudh Dutt ...pilot of the storm who leaves no trace like thoughts inside a dream -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php