Page 1 of 1

Change Color Pixel on target image ??

Posted: 2012-07-20T19:00:32-07:00
by lttq
I have an image.And I want to change color on a pixel(pos x,y) to a color I want.What should I do ?

Re: Change Color Pixel on target image ??

Posted: 2012-07-20T19:22:23-07:00
by fmw42
This topic should be moved to the user's forum, which is for such questions about how to use IM. The developer's forum is more about IM development or enhancements

Nevertheless,

see -draw

http://www.imagemagick.org/Usage/draw/#primitives

That is one way. The other is to create a single pixel image of the color desired and overlay it on your image using -geometry ... -compose over -composite

see

http://www.imagemagick.org/Usage/layers/#convert
http://www.imagemagick.org/Usage/compose/#compose