php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #17250 Extend detection capabilities of getimagesize
Submitted: 2002-05-15 11:19 UTC Modified: 2017-09-07 01:39 UTC
Votes:3
Avg. Score:3.0 ± 1.6
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: reywob@php.net Assigned: kalle (profile)
Status: Closed Package: GetImageSize related
PHP Version: 4.1.2 OS: Any
Private report: No CVE-ID: None
 [2002-05-15 11:19 UTC] reywob@php.net
It would be nice if getimagesize() could be extended to recognize more image file types, as the corresponding command in ImageMagick does.  I'm using PHP as a shell script and it would be useful not to have to do exec calls to ImageMagick, and also simplify the Image_Transform libray i'm writing for PEAR. 

Formats detected by ImageMagick:
http://imagemagick.org/www/formats.html

Even if the list isn't as extensive, it would be really useful!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 17:20 UTC] helly@php.net
Any detection methods or filestructure descriptions are welcome.
 [2010-12-01 16:12 UTC] jani@php.net
-Package: Feature/Change Request +Package: GetImageSize related
 [2017-09-07 01:39 UTC] kalle@php.net
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: kalle
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC