AdamT wrote:
> I usually either open the image with notepad, or some Hex Editor, and
> see what the bits are in the file header (eg BM for Bitmap, Gif89a for
> GIFs, JFIF for JPEGs...)
It actually is called a "header" in most formal graphic specifications
I've read...
Checking the actual bytes of
On Tue, 1 Mar 2005 10:40:59 +, AdamT <[EMAIL PROTECTED]> wrote:
> On Tue, 1 Mar 2005 16:06:56 +0530, anirudh dutt <[EMAIL PROTECTED]> 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
> > see
On Tue, 1 Mar 2005 16:06:56 +0530, anirudh dutt <[EMAIL PROTECTED]> 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
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").
i found (only) one jpg which had JFIF as the 7th to 10th bytes.
i did notice that the _last 2 bytes_ are FF D9 in *all*
I've had similar problems to that.
I usually either open the image with notepad, or some Hex Editor, and
see what the bits are in the file header (eg BM for Bitmap, Gif89a for
GIFs, JFIF for JPEGs...)
--
AdamT
"Justify my text? I'm sorry, but it has no excuse."
--
PHP General Mailing List (ht
Mario Lopez wrote:
> I've noticed that there is a group of JPEG files
> that cannot be operated with GD2 functions.
>
> For example, if you try to imagecreatefromjpeg("my.jpg") it
> replies:
>
> Warning: imagecreatefromjpeg(): 'my.jpg' is not a valid JPEG file
> in C:\Program Files\Apache Group\Apa
6 matches
Mail list logo