From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     *Graphics related
Bug description:  read_exif_data fails on big thumbnails

I'm having problem reading exif data from pictures produced by Fujifilm FinePix6800 
ZOOM. While reading exif data from the jpegs i get fatal error in PHP complaining 
about illegal thumbnailsize.

After reading the source for the exif module i saw a notice that mentioned that 
thumbnails embedded in the exif header are not allowed to exceed 64k in size. Now i'm 
not sure about the specification of the picture in question, the embedded thumbnail 
might exceed this limit, but a sample picture that produces the error can be 
downloaded from (around 500k in size).

It would be nice if the read_exif_data() function could handle images like this and 
return all other data that is correct according to the EXIF specification instead of 
failing completely.

My PHP setup:

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to