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

Sebb updated IMAGING-190:
-------------------------
    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.

  was:
The DataReader.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.


> 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
>
> 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)

Reply via email to