Circle radius 1

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Circle radius 1

Post by snibgo »

There seems to be a bug with -draw when radius is 1. It draws two extra pixels.

I enlarge x10 to show the pixels clearly.

Code: Select all

convert -size 10x10 xc:pink -fill Blue -draw "circle 5,5 5,7" -filter point -resize 1000%% rr2.png
Correct result:
Image

Code: Select all

convert -size 10x10 xc:pink -fill Blue -draw "circle 5,5 5,6" -filter point -resize 1000%% rr1.png
Incorrect result:
Image

Windows 7, IM 6.8.7-5.
snibgo's IM pages: im.snibgo.com
Post Reply