Does anyone know how to duplicate the "Color Overlay" feature in photoshop. Basically it replaces all pixels with a specific color.
Thanks for any help
Terry Riegel
Color Overlay
magick wrote: To replace all pixels in an image with a specific color, use this command:
- convert image.jpg -fill red -draw 'color 0,0 reset' image.png
The above command has the effect of creating a red box of the same dimensions as the original graphic. I am looking for something that will replace all exisitng pixels with red. In other words I don't want red in the transparent areas.
Re: Color Overlay
It does not work for me. Is it working with current ImageMagick version 6.7.6?
It generated red square and fill background too but transparent background should be kept.
It generated red square and fill background too but transparent background should be kept.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Color Overlay
Instead of 'reset' you should be using 'replace' or all of that color (like -opaque operator) or 'floodfill' to replace colors next to the seed point.
See Color replacement
http://www.imagemagick.org/Usage/color_basics/#replace
And Draw Color primative
http://www.imagemagick.org/Usage/draw/#color
See Color replacement
http://www.imagemagick.org/Usage/color_basics/#replace
And Draw Color primative
http://www.imagemagick.org/Usage/draw/#color
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/