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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 - 18 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 14:01:30 2024 UTC