Draw circle dithering

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Draw circle dithering

Post by troyd1 »

Im am using IM 6.7.0 q16 on windows xp. I am trying to use the draw circle command. I did convert testsave.png -stroke blue -fill blue -strokewidth 2 -draw "circle 20,20 20,25" test.png.

I have some different colors on this image and after doing it, it did not look completely blue. I used instant eyedropper and it was dithering. I looked at the examples on the IM help site and they are all dithered as well. Is there an easy wasy to make my circle with *ONLY* blue pixels?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Draw circle dithering

Post by el_supremo »

Turn off antialiasing - but it won't look as good:
convert testsave.png -stroke blue -fill blue -strokewidth 2 +antialias -draw "circle 20,20 20,25" test.png

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Re: Draw circle dithering

Post by troyd1 »

Perfect. Thanks, just what I needed.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Draw circle dithering

Post by anthony »

You can reduce the stroke width (working minimum is 1.0) or turn it off (the default) using -stroke none
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply