php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57810 setImageVirtualPixelMethod triggers exception
Submitted: 2007-08-29 14:05 UTC Modified: 2007-08-29 14:33 UTC
From: alan at ridersite dot org Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.1 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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alan at ridersite dot org
New email:
PHP Version: OS:

 

 [2007-08-29 14:05 UTC] alan at ridersite dot org
Description:
------------
Note, I'm stuck with the latest CVS version and bug may have been fixed in the RC1.




Reproduce code:
---------------
try{
$img->setImageVirtualPixelMethod(imagick::VIRTUALPIXELMETHOD_TILE);
}

catch(ImagickException $e) {
echo("'Imagick Error: ' , {$e->getMessage()}");
}
returns: "Undefined exception".

This shows all the virtualpixels constants are good.
exec("identify -list virtualpixel", $listarray);

And the "-virtual-pixel tile" works here:
exec("convert noise.png -virtual-pixel tile  -blur 0x5 -normalize IM_noise_blur.png", $error, $msg);


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-29 14:33 UTC] mkoppanen@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

http://cvs.php.net/viewvc.cgi/pecl/imagick/imagick.c?view=log

I committed a fix for this bug. Thank you for reporting!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 15:01:36 2025 UTC