Say I have an PNG image where I want to change certain pixels to, say, black. How would I do that?
My guess is that I should take the ImageMagick route. But how would I change, say, pixel ten from the top and from the left to black? To, say, 2% grey etc?
EDIT: Since the comment field doesn´t work for code, this addition is directed to eduffys answer:
Thanks. That lead me some of the way, after correcting the syntax. But it doesn´t work quite yes, as I can´t set the colour.
convert foo.png -draw ‘color 10,10 point’ foo1.png
works, painting the pixel black
convert foo.png -draw ‘#cc9999 color 10,10 point’ foo1.png
Does not return an error but doesn´t do anything visible to the file
convert foo.png -draw ‘color #cc9999 10,10 point’ foo1.png
Give me an error message.