Draw 1 Pixel

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
akustik

Re: Draw 1 Pixel

Post by akustik »

try this:
convert source.png -fill red -draw "color 12,12 point" destinination.png

12,12 are the coordinates for the dot.
If you are using linux replace the " with '

I've done a short test, and with an jpg output file, the dot where not good seen.
With output format png it looks great.
Post Reply