|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-16 08:50 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 09:00:02 2025 UTC |
Description: ------------ PHP version is actually 5.2.6 Imagick version is actually 2.2.1rc1 Reproduce code: --------------- // opaque $im = new Imagick(); $im->newImage(100, 100, '#CCCCCC', 'png'); $im->colorizeImage('#0000FF', 1); header('content-type: image/png'); echo $im; // transparent $im = new Imagick(); $im->newImage(100, 100, '#CCCCCC', 'png'); $im->colorizeImage('#0000FF', 0); header('content-type: image/png'); echo $im; Expected result: ---------------- The first image should be bluish, the second one grey, since the blue should is set to complete transparency (0). Actual result: -------------- Both images are bluish in the same degree. Please have a look at imagick_class.c:5679. The intern_opacity from 5675 is not processed.