Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-253

Imaging.getBufferedImage(BufferedInputStream) throws IOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-alpha1
    • 1.0-alpha2
    • imaging.common.*
    • None

    Description

      When reading any image with method Imaging#getBufferedImage(BufferedInputStream, Map) following exception is thrown:

      java.io.IOException: Could not read block (block start: 22, block length: 211540, data length: -1).

       

      The reason is that ByteSourceInputStream#getBlock does not work with initialized property streamLength.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              david.hrbacek David Hrbacek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m