geosolutions-it / jai-ext

Java Advanced Imaging Open Source Replacement Wannabe
Apache License 2.0
90 stars 38 forks source link

BorderOpImage fails against images with MultiPixelPackedSampleModel #215

Closed aaime closed 5 years ago

aaime commented 5 years ago

If the raster accessor decides to expand the data it might do so using a data type other than the source one, in particular, MultiPixelPackedSampleModel is always expanded towards integers. The code should not check the source image data type, but the accessor data types, to decide which loop to use.

aaime commented 5 years ago

Resolved on master (1.1-SNAPSHOT)