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
 [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-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 16 03:01:23 2021 UTC