|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-23 07:16 UTC] mkoppanen@php.net
[2009-07-02 18:24 UTC] mkoppanen@php.net
[2010-02-04 14:07 UTC] tom at sogetthis dot com
[2010-02-04 17:43 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 21:00:02 2025 UTC |
Description: ------------ I have tested with your own examples and changing x and y parameters has no effect. Reproduce code: --------------- $im = new Imagick( 'strawberry.jpg' ); $im->setImageFormat('png32'); $im->thumbnailImage( 200, null ); $shadow = $im->clone(); $shadow->setImageBackgroundColor( new ImagickPixel( 'black' ) ); $shadow->shadowImage( 40, 2, 30, 30 ); $shadow->compositeImage( $im, Imagick::COMPOSITE_OVER, 0, 0 ); header( "Content-Type: image/png" ); echo $shadow; Expected result: ---------------- Shadow should be far away. Actual result: -------------- Shadow is still at approx 5,5 which I suppose are the defaults.