: The simplest replacement of color in PNG icons I need to replace the color of some PNG icons. Examples: shall become JavaScript2 http://www168.lunapic.com/editor/working/146856450596963-bt-5. shall
I need to replace the color of some PNG icons. Examples:
shall become JavaScript2 www168.lunapic.com/editor/working/146856450596963-bt-5.
shall become: YAML2 www168.lunapic.com/editor/working/146856450596963-bt-10.
Only color replacement: orange → violet, orange → green, and no other actions.
I never worked before with the advanced graphic editors, whether I can carry out replacement of colors?
Any non-commercial graphic editor for Windows would be fine (not Photoshop).
More posts by @Deb5748823
3 Comments
Sorted by latest first Latest Oldest Best
if the white in your icons is actually transparency:
Set the alpha-lock for the layer (checkerboard icon at top of layer list)
Make sure you have no selection
Bucket fill with new color, the alpha-lock will protect the transparent pixels (actually, it will make sure all pixels keep their initial opacity).
In ImageMagick or GraphicsMagick:
mogrify -fuzz 50% -fill violet -opaque "#F4BF75" *.png
I used "identify -verbose file.png" to display the histogram and determine that #F4BF75 is the predominant orange color present.
The fuzzing is needed because your samples are antialiased and have a variety of approximately orange colors present. You can omit "-fuzz 50%" and then the results will have orange halos like the results you posted.
In Gimp:
Open the document
Open Hue-saturation tool (
Instructions
)
When you got the Hue-saturation window open, just adjust the hue
slider like a crazy person and you should see the colors change.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.