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

ImageDataReader.decompress() overwrites its input

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-alpha1
    • None
    • None

    Description

      The ImageDataReader.decompress() method rewrites its input data if the fill order is set to FILL_ORDER_VALUE_REVERSED.

      However AFAICT the fill order is not then updated, so calling the method mulitple times will redo the conversion.

      The method should probably use a new array if the output has to be reversed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: