Hi,
I think it would make sense to have a main branch instead of master as it is now the default in github. Having a dev branch depends on if we want to keep a simple process as we had on sourceforge, or if we want to introduce a two steps procedure with commits and merges on different branches. Anyway, I'm not the best expert when it comes to git. I propose other committers to give their advice and let Ede have the last word. Here is a procedure to migrate master to main : https://github.com/github/renaming But we already have a main branch with just a few files in it which may complicate a bit the operation. Michaël envoyé : 4 février 2021 à 12:22 de : edgar.sol...@web.de à : jump-pilot-devel@lists.sourceforge.net objet : Re: [JPP-Devel] Important bug on class RasterImageLayer on OpenJUMP 6669
looks like a test like http://commons.apache.org/proper/commons-imaging/apidocs/org/apache/commons/imaging/Imaging.html#getFormatCompliance-byte:A-
before running Imaging.getImageInfo() might make sense. but it'll likely just throw an Exception as well. didn't test it.
..ede
On 2/4/2021 11:57, edgar.sol...@web.de wrote: the commit by Mike seems to have simply added the call Imaging.getImageInfo() https://sourceforge.net/p/jump-pilot/code/6643/
try to wrap it in try/catch and it should work again. or leave it up to Mike who fixed the memory routine ;).. ede
ps. All - are we set on the github branch now? if yes i suggest to name it "devel" or "trunk" as "master" seems to be out of fashion and "main" is to generic for my taste.
On 2/4/2021 6:53, Giuseppe Aruta wrote:
>> 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 <mailto:giuseppe.ar...@gmail.com>> ha scritto: >> >> 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 classorg.apache.commons.imaging.Imaging >> cannot read ASC and FLT files >> >> Best regards >> Peppe >> >> >> >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
|
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel