Archived

This topic is now archived and is closed to further replies.

[java] Changing palette in GIF image

This topic is 5576 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to change the colours of a GIF image, but I don''t know how to get access to the image''s colour table (palette) and to substitute it. Can I create my own IndexColorModel and then use the RGBImageFilter methods setColorModel or substituteColorModel? Should I use a BufferedImage instead of an Image or ImageProducer? Mats

Share this post


Link to post
Share on other sites