php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59139 Add support for identify
Submitted: 2010-03-30 13:17 UTC Modified: 2010-04-10 15:39 UTC
From: mike at digitalstruct dot com Assigned:
Status: Closed Package: gmagick (PECL)
PHP Version: 5.3.1 OS:
Private report: No CVE-ID: None
 [2010-03-30 13:17 UTC] mike at digitalstruct dot com
Description:
------------
Currently it is hard to find out some information about an 
image, such as, getting the number of scenes in an image.  If 
there was some form of calling and sending in the parameters 
via the extension it would be great.  Something like 

getimageidentityformat("%n") 

i suppose the name is not important but getting at the 
identity and format options are.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-10 15:39 UTC] vito@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/gmagick

Instead of returning a huge array of image properties, Gmagick has getter methods (i.e. getImageIndex, getImageIterations) that allows you to obtain specific attributes. This is reflective of available functions exposed by the GraphicsMagick Wand C API. To get the number of images for example, a new getNumberImages() method had been added in the latest release.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 13:01:27 2019 UTC