: Use specific color map index as transparent in a .gif file Is there a way of setting the color to be used as transparent in a .gif file to a specific index in the color map? I have tried
Is there a way of setting the color to be used as transparent in a .gif file to a specific index in the color map?
I have tried ImageMagick. For example, if I want to make all red in the image to use the color of index 10 which is blue:
convert in.gif -transparent-color blue -transparent red out.gif
This works fine if we don't worry about the indexes. The red in the picture is now transparent blue. But IM adds this transparent blue to the color table after the last used index. In my case I need the transparency to be a color map index of my choice. GIMP can rearrange the color map, which seems like something that might work, but I will still have to investigate this since it haven't really been working out.
More posts by @Kimberly620
1 Comments
Sorted by latest first Latest Oldest Best
IrfanView solved the problem. When saving a .gif file in IrfanView you can choose which color in the image should be transparent, and the exact color map index of the chosen color will be used as transparent.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.