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?".
If you look at the result png image http://lurkingideas.net/media/drawing.png, it is still anti-aliased. It should contain two or three colors but there are 414 colors instead.
fmw42: good idea. I just tried that but it didn't work either though.
el_supremo: sorry about the 404. I have fixed that.
I was wondering if you got the same result - the same PNG. It is anti-aliased, isn't it? Is it correct behavior? What should +antialias do if not prevent this from happening?
Hey did you know that if you compile the latest IM with the autotrace development library installed, IM can generate SVG from raster images???? Of course the image should be as large as posible and preferable simplified to reduce shapes and colors.
whiskybar wrote:This also explains why the PNG created by the rsvg utility were the same as if they were created by IM. Thank you very much for your answer.
The RSVG library delegation is used as it is a more correct implementation of the SVG drawing, where the MSVG converts SVG to MVG drawing methods.
Unfortunately MVG does not have the color gradient handling added to it as yet, though it is supposed to only need the appropriate linking in.