How to change the colors of a PNG image easily? [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this questionI have PNG images that represent playing-cards. They are the standard colours with Clubs and Spades being blank and Diamonds and Hearts being red.
I want to create a 4-colour deck by converting the the Clubs to green and the Diamonds to blue.
I don't want to re-draw them but just changing them by hand开发者_开发知识库 seems a lot of work since the colours are not all "pure" but graded near the edges.
How do I do it?
Photoshop - right click layer -> blending options -> color overlay change color and save
This should be fairly straightforward in the gimp http://gimp.org/
First make sure your image is RGB (not indexed color) then use the "color to alpha" feature to turn the clubs/diamonds clear, then fill or set the background or whatever to get the color you want.
If you are going to be programming an application to do all of this, the process will be something like this:
- Convert image from RGB to HSV
- adjust H value
- Convert image back to RGB
- Save image
Use Photoshop, Paint.NET or similar software and adjust Hue.
Ok guys it can be done easy in photoshop.
Open png photo and then check image -> mode value(i had indexed color). Go image -> mode and check rgb color. Now change your color EASY.
If you are like me and Photoshop is out of your price range or just overkill for what you need. Acorn 5 is a much cheaper version of Photoshop with a lot of the same features. One of those features being a color change option. You can import all of the basic image formats including SVG and PNG. The color editing software works great and allows for basic color selection, RBG selection, hex code, or even a color grabber if you do not know the color. These color features, plus a whole lot image editing features, is definitely worth the $30. The only downside is that is currently only available on Mac.
精彩评论