[libGD] #79 [Comment added] arc's are drawn incorrectly (plus regression in 2.0.35RC2)

[email protected] (libGD) Mon, 07 May 2007 05:13:51 +0000
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#79 - arc's are drawn incorrectly (plus regression in 2.0.35RC2)
User who did this - Colen Garoutte-Carson (Colen)

----------
I was able to fix my config problem. I needed to update libtool.

2.0.35RC3 seems to address the problem for gif and jpeg, but I am seeing a problem with anti-aliased lines and arcs in PNG TrueColor images.

<code>
$im = new GD::Image($width, $height, 1);
...
$im->fill(0,0,$white);
$im->setThickness(3);
$im->setAntiAliased($black);
$im->arc($x1, $y1, $x2, $y2, 0, 360, gdAntiAliased);
...
print "Content-type: image/png\n\n";
print $im->png;
</code>

... generates the attached image.  Similar artifacts are there, and the thickness is not correct.  The problem does not happen if gdAntiAliased is not used.

 - Colen

----------

There was one or more files attached to this comment.

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=79#comment242

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.