NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi: I was wondering if anyone has ever encountered the following error when creating an image using the JPEG Encoder classes: java.lang.IllegalArgumentException: NumComponents not in sync with COLOR_ID The code that I've written runs fine of a system running Windows 98, but on a Solaris it returns the aforementioned error. Here is a code snippet: <VisAD code setting up display object> 1.) BufferedImage image = display.getImage(); 2.) JPEGEncodeParam jepar JPEGCodec.getDefaultJPEGEncodeParam(image); <other image generation code> 2 causes the exception Thanks for your time, John. __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/
visad
archives: