Re: P5_10 problem

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.


Guangdi Li wrote:

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 
  P5_10 image_1 image_2
visad.VisADException: IOException: Not an image
    at P5_10.<init>(
    at P5_10.main(
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!

Get AOL Instant Messenger 5.1 free of charge.  Download Now!

Tom Whittaker
University of Wisconsin-Madison

  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: