Re: [JPP-Devel] Important bug on class RasterImageLayer on OpenJUMP 6669

2021-02-03 Thread Giuseppe Aruta
Note that GridFloat (FLT) and GridAscii (ASC) classes have their own methods to read cell size, GridFloat(string filename).readHdr and than getCellSize(). Il giorno gio 4 feb 2021 alle ore 06:48 Giuseppe Aruta < giuseppe.ar...@gmail.com> ha scritto: > Hi all, > it seems that we lost the ability t

[JPP-Devel] Important bug on class RasterImageLayer on OpenJUMP 6669

2021-02-03 Thread Giuseppe Aruta
Hi all, it seems that we lost the ability to read and display FLT and ASC raster files using (Sextante) raster image layer framework. The bug is located into class RasterImageLayer, line 352: bitsPerPixel = Imaging.getImageInfo(new File(imageFileName)).getBitsPerPixel(); The reason is that class