You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/10/10 16:48:20 UTC

[jira] [Updated] (IMAGING-190) ImageDataReader.decompress() overwrites its input

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