Login  Register

How to read and save GIFs with a transparent color?

Posted by Ulf Dittmer on Aug 20, 2007; 9:02am
URL: http://imagej.273.s1.nabble.com/How-to-read-and-save-GIFs-with-a-transparent-color-tp3698567.html

Hello-

It seems that ImageJ has no notion of transparent pixels in a GIF  
image (or at least none that I can find). Upon opening the  
transparent colors seem to be replaced by some real colors, and I  
can't find a way to specify which color to make transparent during  
saving.

The GifEncoder class seems to have that capability, but it's not  
available the way it's used by the FileSaver class. Am I missing  
something? If not, is there any workaround to this?

Many thanks in advance for any clues.

Ulf