|Syntactic Confectionery Delight|
ImageMagick Point Queryby bensonmonk (Novice)
|on Nov 22, 2012 at 12:13 UTC||Need Help??|
bensonmonk has asked for the
wisdom of the Perl Monks concerning the following question:
I want to use ImageMagick to edit an existing image by making some selected points a specific colour.
I am trying to use the Draw command with the ‘point’ primitive. However, I can only get a black point regardless of what colour I am trying to set.
This is shown in the Perl code below where:
1. I draw a blue rectangle;
2. Try and set a number of points to white in a rectangle that partly overlaps the blue rectangle.
However, I get black points in the rectangle.
How can I set white (and any other colour) points?