Login  Register

Re: Cannot locate JPEG decoder

Posted by vmunukutla on Jan 07, 2009; 5:55am
URL: http://imagej.273.s1.nabble.com/Cannot-locate-JPEG-decoder-tp3694096p3694098.html


Thanks to Melissa, I could solve the problem by installing JAI Image I/O native library.

Regards,
Phanikanth

prashant-2 wrote
Hi Phanikanth,

      As Melissa said you should install JAI Image I/O native library.
     After installing if you facing the same problem then please check the
following things.

     if you have multiple java installed on your system then see from which
jre you running your
     application and which jre you are installed JAI I/O package.

    because some time ago i also faced same problem,And i had many updated
version of java installed and i installed JAI on previous package.

 Please run with a particular java.exe like
 "C:\Program Files\java\jre1.6.0_06\bin\java.exe"  yourfilename

Thanks




----- Original Message -----
From: "vmunukutla" <vmunukutla@CTEPL.COM>
To: <IMAGEJ@LIST.NIH.GOV>
Sent: Tuesday, January 06, 2009 8:00 PM
Subject: Cannot locate JPEG decoder


>I got the error "Cannot locate JPEG decoder" when I am trying to uncompress
>a
> single frame compressed Tiff Image.
> Then I have included jai_imageio.jar and jmagick.jar in my class path and
> run the program, but I am getting the error
>
> sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageWriterSpi:
> Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriterSpi
> could
> not be instantiated: java.lang.IllegalArgumentException: vendorName ==
> null!
>
> Please help me.
>
> Regards,
> Phanikanth
>
>
> --
> View this message in context:
> http://n2.nabble.com/Cannot-locate-JPEG-decoder-tp2117656p2117656.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>