Are you tryingto convert the PNG image to greyscale? (TYPE_BYTE_GRAY would assume that). If so, the Reason display differences among different applications lies in the color conversion to greyscale.
There are various approaches to greyscale an image. The simplest would be: take the average of red, green and blue for each pixel and take this value as brightness. This however is no good method of calculating a pixels brightness, as Red is brighter than blue. To get better results, colors must be converted to a more convenient color space, suchas LAB, where a color is represented as Brightness and chromatics. For more information, see: http://en.wikipedia.org/wiki/Lab_color_space I guess the reason for different results among applications is, that they use different approaches to greyscale an image. [Message sent by forum member 'newcron' (newcron)] http://forums.java.net/jive/thread.jspa?messageID=253704 =========================================================================== 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".
