- To: Guangdi Li <guangdili@xxxxxxxxxxxx>
- Subject: Re: P5_10 problem
- From: Tom Whittaker <tomw@xxxxxxxxxxxxx>
- Date: Sun, 08 Jun 2003 15:30:28 -0500
It looks like your images may not be GIF images. It is also possible
that if you created them using any Windows Office 2000 product, that
they do not contain a "global color table". Up until recent releases,
the Java library could not read (decode) GIF images created in this way.
tom Guangdi Li wrote:
Hi, Dear Sir/Ma'am When I run your P5_10 program, the following error messages show it cannot read in *.gif file. But the file whick I am using is .gif file. I do not know what it is wrong. I hope I can got your help. D:\JBuilder8\jdk1.4\bin\javaw -classpath "C:\VisADJython\p4\classes;C:\VisADJython\visad.jar;C:\VisADJython\jre\lib\ext\j3dcore.jar;D:\JBuilder8\jdk1.4\demo\jfc\Java2D\Java2Demo.jar;D:\JBuilder8\jdk1.4\demo\plugin\jfc\Java2D\Java2Demo.jar;D:\JBuilder8\jdk1.4\jre\lib\charsets.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\dnsns.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\ldapsec.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\localedata.jar;D:\JBuilder8\jdk1.4\jre\lib\ext\sunjce_provider.jar;D:\JBuilder8\jdk1.4\jre\lib\im\indicim.jar;D:\JBuilder8\jdk1.4\jre\lib\jaws.jar;D:\JBuilder8\jdk1.4\jre\lib\jce.jar;D:\JBuilder8\jdk1.4\jre\lib\jsse.jar;D:\JBuilder8\jdk1.4\jre\lib\rt.jar;D:\JBuilder8\jdk1.4\jre\lib\sunrsasign.jar;D:\JBuilder8\jdk1.4\lib\dt.jar;D:\JBuilder8\jdk1.4\lib\htmlconverter.jar;D:\JBuilder8\jdk1.4\lib\tools.jar;C:\VisADJython\visad\java3d;C:\VisADJython\visad" P5_10 image_1 image_2 visad.VisADException: IOException: Not an image at visad.data.gif.GIFForm.open(GIFForm.java:91) at P5_10.<init>(P5_10.java:87) at P5_10.main(P5_10.java:223)Exception in thread "main"Many thanks. Guangdi Li __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
-- Tom Whittaker University of Wisconsin-Madison SSEC/CIMSS
- Follow-Ups:
- Re: P5_10 problem
- From: Curtis Rueden
- Re: P5_10 problem
- References:
- P5_10 problem
- From: Guangdi Li
- P5_10 problem