Mobile app version of vmapp.org
Login or Join
Gloria351

: Keeping colors on an image while setting full transparency I would like to create an image from a map, where each country is colored in a different color, where the frontiers are in black,

@Gloria351

Posted in: #Gimp #Png #Transparency

I would like to create an image from a map, where each country is colored in a different color, where the frontiers are in black, and in which each color except black is fully transparent, while not losing the RGB information.

My tools are The Gimp or anything installable on Linux, and small scale programming (if I need to fully understand the png format, I won't succeed).

My current image is perfect, except for the transparency information. My current experiments with GIMP have always resulted in RGB information being lost when exporting the image to png or gif.

Any pointers? Thanks a lot.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gloria351

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan765

On the GIMP Export dialog for PNG files, there is a checkbox that says "Save colour values from transparent pixels". I haven't tested it, but that should do what you want.

There doesn't seem to be an equivalent option for GIF.

More on export file format options: docs.gimp.org/en/gimp-images-out.html#gimp-using-fileformats-export-dialog

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme