commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IMAGING-190) ImageDataReader.decompress() overwrites its input
Date Tue, 11 Oct 2016 16:24:20 GMT

     [ https://issues.apache.org/jira/browse/IMAGING-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved IMAGING-190.
--------------------------
       Resolution: Fixed
    Fix Version/s: 1.0

URL: http://svn.apache.org/viewvc?rev=1764288&view=rev
Log:
IMAGING-190 ImageDataReader.decompress() overwrites its input

Modified:
    commons/proper/imaging/trunk/src/changes/changes.xml
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/ImageDataReader.java


> ImageDataReader.decompress() overwrites its input
> -------------------------------------------------
>
>                 Key: IMAGING-190
>                 URL: https://issues.apache.org/jira/browse/IMAGING-190
>             Project: Commons Imaging
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message