php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10935 GetImageSize fails on some JPEG files
Submitted: 2001-05-17 13:17 UTC Modified: 2001-07-04 13:56 UTC
From: aks at iloom dot de Assigned:
Status: Closed Package: GetImageSize related
PHP Version: 4.0.5 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 - 35 = ?
Subscribe to this entry?

 
 [2001-05-17 13:17 UTC] aks at iloom dot de
After upgrading from 4.0.4 to 4.0.5 the getimagesize function seems to have problems with some JPEG files, where it returns no result (empty array or something like that). In my short tests this happened with the two biggest pictures in the series.

I put my sample files sorted by "success/fail" to:

http://www.student.informatik.tu-darmstadt.de/~akrauss/imagesizebug.tar.gz


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-17 13:27 UTC] derick@php.net
This should be fixed in CVS, please try a snapshot from snaps.php.net and see if it works for you.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Oct 05 08:05:55 2022 UTC