|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59624 ImagickDraw makes image background transparent
Submitted: 2011-02-14 21:11 UTC Modified: 2015-01-18 04:22 UTC
From: mallluhuct at gmail dot com Assigned: mkoppanen (profile)
Status: No Feedback Package: imagick (PECL)
PHP Version: 5.3.5 OS: Mac OS X
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mallluhuct at gmail dot com
New email:
PHP Version: OS:


 [2011-02-14 21:11 UTC] mallluhuct at gmail dot com
when I try to use ImagickDraw to draw a filled arc, using the 
same color for fill as for stroke on a new image with opaque 
black background, it resets image background to transparent

Reproduce code:

$image = new \Imagick();
$image->newImage(400, 300, '#000000');

$pixel = new \ImagickPixel('#ffffff');
$pixel->setColorValue(\Imagick::COLOR_OPACITY, 0.0);

$arc = new \ImagickDraw();

$arc->arc(50, 50, 350, 250, 45, 135);




Expected result:
Should draw a white chord on a black background

Actual result:
Draws a white chord on a transparent background


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-02 18:01 UTC] Danack at basereality dot com
This issue is not reproducible on PHP 5.6.2 with the latest (3.2.0RC1) version of Imagick and the latest version of ImageMagick (6.9.9-0).

If this is still an issue with the latest version of Imagick, please can you specify what versions of ImageMagick and PHP you are using to allow reproduction of this problem.
 [2015-01-05 02:54 UTC]
-Status: Assigned +Status: Feedback
 [2015-01-05 02:54 UTC]
Awaiting feedback.
 [2015-01-18 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 10:01:29 2024 UTC