Hi Allen,
The only way to change the palette associated with a BufferedImage is to
instantiate a new one. I'm not sure why you are reluctant to do this, all
a BufferedImage really is is a pointer to a Raster, a pointer to a ColorModel,
and an integer type to classify the image format. Simply use:
newimg = new BufferedImage(newcm, oldimg.getRaster(), false, props);
(Note that since you are using an IndexColorModel, false makes the most
sense for the isPremultiplied value since the pixels are just indices,
not alphas and color fields...)
...jim
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/