Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: milestone 1
    • Component/s: implementation
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      134

      Description

      Reading the attached Jpeg2000 image throws :

      java.io.EOFException
      at
      j2000.j2k.JJ2KExceptionHandler.handleException(JJ2KExceptionHandler.java:81)
      at
      jj2000.j2k.codestream.reader.FileBitstreamReaderAgent.getCodeBlock(FileBitstreamReaderAgent.java:2463)
      at
      jj2000.j2k.entropy.decoder.StdEntropyDecoder.getCodeBlock(StdEntropyDecoder.java:716)
      at
      jj2000.j2k.entropy.decoder.StdEntropyDecoder.getInternCodeBlock(StdEntropyDecoder.java:948)
      at jj2000.j2k.roi.ROIDeScaler.getInternCodeBlock(ROIDeScaler.java:262)
      at jj2000.j2k.roi.ROIDeScaler.getCodeBlock(ROIDeScaler.java:209)
      at
      jj2000.j2k.quantization.dequantizer.StdDequantizer.getInternCodeBlock(StdDequantizer.java:283)
      at
      jj2000.j2k.wavelet.synthesis.InvWTFull.waveletTreeReconstruction(InvWTFull.java:516)
      at
      jj2000.j2k.wavelet.synthesis.InvWTFull.waveletTreeReconstruction(InvWTFull.java:543)
      at
      jj2000.j2k.wavelet.synthesis.InvWTFull.getInternCompData(InvWTFull.java:283)
      at jj2000.j2k.image.ImgDataConverter.getData(ImgDataConverter.java:249)
      at
      jj2000.j2k.image.ImgDataConverter.getInternCompData(ImgDataConverter.java:205)
      at
      jj2000.j2k.image.invcomptransf.InvCompTransf.invRCT(InvCompTransf.java:428)
      at
      jj2000.j2k.image.invcomptransf.InvCompTransf.getInternCompData(InvCompTransf.java:362)
      at
      com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState.readSubsampledRaster(J2KReadState.java:831)
      at
      com.sun.media.imageioimpl.plugins.jpeg2000.J2KReadState.readBufferedImage(J2KReadState.java:384)
      at
      com.sun.media.imageioimpl.plugins.jpeg2000.J2KImageReader.read(J2KImageReader.java:454)
      at javax.imageio.ImageIO.read(ImageIO.java:1422)

      when read using -Dcom.sun.media.imageio.disableCodecLib=true.

      The native decoder does read the image successfully.

      The image where extracted from a DICOM file from David Clunie's sample database
      of compressed DICOM files.

        Issue Links

          Activity

          Hide
          guillemet added a comment -

          Created an attachment (id=84)
          JP2K image file

          Show
          guillemet added a comment - Created an attachment (id=84) JP2K image file

            People

            • Assignee:
              jai-imageio-core-issues
              Reporter:
              guillemet
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: