|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: aks at iloom dot de
New email:
PHP Version: OS:


 [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:


Add a Patch

Pull Requests

Add a Pull Request


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