PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Transform » Bug #6250

typo error en Imagick2.php

Details

Submitted2005-12-15 13:34 UTC
Fromgperosio at gmail dot com
Assignedpajoye
StatusClosed
PackageImage_Transform
PHP Version4.3.10
OSLinux
Roadmaps(Not assigned)

Comments

[2005-12-15 13:34 UTC] gperosio at gmail dot com

Description:
------------
typo error in Imagick2.php, when appears "strcasecomp", will be "strcasecmp"

Test script:
---------------
$im = &Image_Transform::factory('Imagick2');
$im->load($filename);
if ($im->getImageWidth() > 200)
{
$im->resize(200,0);
$im->save($filename,$im->getImageType());
}

Actual result:
--------------
Fatal error: Call to undefined function: strcasecomp() in /usr/share/php/Image/Transform/Driver/Imagick2.php on line 228