Skip to main content

Problem reading customers TIFF image

4 replies [Last post]
schalueck
Offline
Joined: 2007-07-26

Hi, I can't read some images of a customer of mine. The error message states:
javax.imageio.IIOException: Didn't expect more than one scan
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
at com.sun.media.imageioimpl.plugins.tiff.TIFFOldJPEGDecompressor.decodeRaw(TIFFOldJPEGDecompressor.java:654)
at com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2527)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1137)
at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1417)
at javax.imageio.ImageReader.read(Unknown Source)
at TestReadingImages.main(TestReadingImages.java:43)

What can I do to read the image correctly (it can be decoded with EMC-Pixtools Windows toolkit)?
Thanks
Elmar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
schalueck
Offline
Joined: 2007-07-26

The fix for issue 154 will help.

Brian Burkhalter

On Mon, 10 Sep 2007, jai-imageio@javadesktop.org wrote:

> Hi, I can't read some images of a customer of mine. The error message states:
> javax.imageio.IIOException: Didn't expect more than one scan
> at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
> at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
> at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
> at com.sun.media.imageioimpl.plugins.tiff.TIFFOldJPEGDecompressor.decodeRaw(TIFFOldJPEGDecompressor.java:654)
> at com.sun.media.imageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2527)
> at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1137)
> at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1417)
> at javax.imageio.ImageReader.read(Unknown Source)
> at TestReadingImages.main(TestReadingImages.java:43)
>
> What can I do to read the image correctly

Could you supply a copy of the image for testing please?

> (it can be decoded with EMC-Pixtools Windows toolkit)?

No doubt for any given perversion of the TIFF format and there are many there
is some software out there that has incorporated a workaround.

Brian

> Thanks
> Elmar
> [Message sent by forum member 'schalueck' (schalueck)]
>
> http://forums.java.net/jive/thread.jspa?messageID=234656
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

>^..^< >^..^<

Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

schalueck
Offline
Joined: 2007-07-26

Well, I'd like to submit my image as well, but how can I send attachments?
Elmar

Brian Burkhalter

Use the 'interest' mailing list at jai-imageio.dev.java.net instead of the
forum or file an issue in the Issue Tracker at jai-imageio-core.dev.java.net.

Thanks,

Brian

On Mon, 10 Sep 2007, jai-imageio@javadesktop.org wrote:

> Well, I'd like to submit my image as well, but how can I send attachments?
> Elmar
> [Message sent by forum member 'schalueck' (schalueck)]
>
> http://forums.java.net/jive/thread.jspa?messageID=234797
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

>^..^< >^..^<

Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net