>Dear all,
>
> How can I read the IndexColorModel in the JPEG image? Can anyone
>help me?
JPEG images are 32-bit RGB images that use the DirectColorModel. To get an
IndexColorModel you need to convert the RGB image to an 8-bit image with
256 or fewer colors. The MedianCut class that's part of my open source
ImageJ package at http://rsb.info.nih.gov/ij/ will do this.
-wayne
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/