[wp-trac] [WordPress Trac] #22543: ImageMagick: Call to undefined method Imagick::setIteratorIndex()

WordPress Trac noreply at wordpress.org
Sun Nov 25 18:50:05 UTC 2012


#22543: ImageMagick: Call to undefined method Imagick::setIteratorIndex()
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by markoheijnen):

 The feature detection should be possible but for the second problem we are
 already doing so. So I added class_exists('Imagick') for that. Maybe
 extension_loaded() can now be removed.

 Second stuff you are right so a check if the mime_type is given or not and
 when needed check is_callable( $this->image, 'setIteratorIndex' ).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22543#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list