php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58767 Imagick::setImageVirtualPixelMethod() does nothing
Submitted: 2009-07-17 13:15 UTC Modified: 2009-07-17 16:38 UTC
From: wysiwtf at gmail dot com Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.6 OS: Linux 2.6 (Ubuntu 9.04)
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: wysiwtf at gmail dot com
New email:
PHP Version: OS:

 

 [2009-07-17 13:15 UTC] wysiwtf at gmail dot com
Description:
------------
The Imagick::setImageVirtualPixelMethod() has no effect on the Imagick object. This can be seen in both the stable version (2.2.2) and the latest beta (2.3.0RC3). The CLI tool produces correct results.

Installed software:
ImageMagick 6.4.5 2009-06-04 Q16 OpenMP
imagick module version => 2.3.0-rc3
PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2

Reproduce code:
---------------
<?
$im = new Imagick();
$im->newPseudoImage(100, 100, "pattern:checkerboard");

$im->setImageVirtualPixelMethod(Imagick::VIRTUALPIXELMETHOD_TRANSPARENT);

var_dump( $im->getImageVirtualPixelMethod() );

/* Returns 0... */

?>

Expected result:
----------------
int(8) from var_dump() and the correct virtual pixel method.

Actual result:
--------------
int(0), e.g. no virtual pixel method is set.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-17 15:46 UTC] mkoppanen@php.net
Can not reproduce this with Imagick 2.3.0RC3 with ImageMagick 6.5.0-9
 [2009-07-17 16:38 UTC] wysiwtf at gmail dot com
Seems the package version is lagging behind (how unsurprising). Thanks for the feedback, compiling from source...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC