Why don't you use the Java Image IO API that let you read and write any image
format? However I think this API is still in beta stage but you should verify
at javasoft.com
Jerome
Augusto <[EMAIL PROTECTED]> on 01/26/2001 13:36:56
Please respond to Augusto <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Jerome Blouin)
Subject: [JAVA2D] Converting an TYPE_INT_RGB image ...
Hi.
How can I convert a BufferedImage of type TYPE_INT_RGB, to a
TYPE_BYTE_INDEX ?
I'm trying to save the image into a bmp file, yet, the JAI bmp codec
doesn't let me save images
that hold data in ushort, int, long etc., just byte types.
Thanks.
===========================================================================
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".
===========================================================================
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".