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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 08:01:32 2024 UTC