Reply to Re: [PHP] problems with several JPEGs in GD2

Your name:

Reply:


Posted by Richard Lynch on 03/01/05 22:55

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 an image, especially the first few, is always
a Good Idea.

But having the first few bytes "correct" doesn't guarantee validity, of
course.

Even the fact that one or more other software packages can work with an
image doesn't guarantee validity, really. Though if a LOT of them work
with it, it's probably valid.

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация