Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6197614
Votes 0
Synopsis JPEG 2000: codecLib reader cannot read palette images with alpha (RGBA palette)
Category jai:codec_imageio
Reported Against
Release Fixed 1.0_01
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 19-NOV-2004
Description
Attempt to read such an image and this results:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
        at com.sun.media.imageioimpl.plugins.jpeg2000.J2KRenderedImageCodecLib.createOriginalSampleModel(J2KRenderedImageCodecLib.java:571)
        at com.sun.media.imageioimpl.plugins.jpeg2000.J2KRenderedImageCodecLib.<init>(J2KRenderedImageCodecLib.java:191)
        at com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReaderCodecLib.read(J2KImageReaderCodecLib.java:281)
        at javax.imageio.ImageReader.read(ImageReader.java:919)
        at ReadTest.<init>(ReadTest.java:98)
        at ReadTest.main(ReadTest.java:60)
  xxxxx@xxxxx   2004-11-19 01:58:32 GMT
Work Around
N/A
Evaluation
Multi-band channel definition being used for single component.
  xxxxx@xxxxx   2004-11-20 00:57:05 GMT
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang