Hi,
Being fairly new to Java2D, I'm struggling doing simple things. I'm trying to find out how to convert a BufferedImage to an 8-bit indexed image, so it may be stored as an 8-bit indexed PNG file. Any pointers? Currently I'm doing: File file = new File(fileName); ImageIO.write(image, "png", file); Which works OK, but produces a (large) 24-bit PNG file. I want a smaller one :) While I'm at it, is it possible to enable maximum compression for PNG files? Or is that enabled by default? Cheers, Ernst =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".