RSS/Atom feed Twitter
Site is read-only, email is disabled

Changing the color of a PNG image

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Changing the color of a PNG image GARNIER Jean-Luc 15 May 08:20
  Changing the color of a PNG image Chris Mohler 15 May 16:50
GARNIER Jean-Luc
2007-05-15 08:20:30 UTC (over 17 years ago)

Changing the color of a PNG image

** 2nd post **

Sorry for the repetition but I did not get any answer to my question... Is it so silly?

-----------------
Hi all!

I'm pretty new with GIMP (installed 3 hours ago) and have already one question: how can I change the color of a PNG image? The context: - I have a piece of javascript code that draws pretty boxes on an HTML page
- this piece of code uses PNG images as backgrounds for the different corners (and boxes body)
- the example I downloaded uses black image components (see attached)
- I'd like to be able to match my association's logo and have a yellow background for our web site's boxes, migrating from (black and gray) images to (yellow and light yellow) images
I've tinkered with the color map rotation function but to no avail. Is there any issue with PNG images ? Or with layers ? What is the standard procedure to change colors on a simple image ?
Thanks in advance for helping a 0%-artist / 100% technician ! ;-)

Cordialement / Best regards,

Jean-Luc GARNIER

Chris Mohler
2007-05-15 16:50:41 UTC (over 17 years ago)

Changing the color of a PNG image

On 5/15/07, GARNIER Jean-Luc wrote: [...]

I've tinkered with the color map rotation function but to no avail. Is there any issue with PNG images ? Or with layers ? What is the standard procedure to change colors on a simple image ?

Try Layers->Color->Colorize - hue around 60, sat around 90, light around 50.

PNG is no problem, and images are pretty much case-by-case tasks - there's no one solution for exchanging colors. I worked on these types of images (button backgounds) long ago, and usually had to do a lot of 1-pixel operations. I would make a new layer and draw the old button in new colors - then trash the bottom layer and save the PNG.

HTH, Chris