[JPP-Devel] SVN: [6619] core/trunk/src/org/openjump/core/rasterimage

2020-11-08 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 6619 http://sourceforge.net/p/jump-pilot/code/6619 Author: michaudm Date: 2020-11-08 23:39:40 + (Sun, 08 Nov 2020) Log Message: --- Continue simplification of RasterImageLayer and fix problem with RasterSymbology Modified Paths: -- core/trunk/s

Re: [JPP-Devel] [jump-pilot:bugs] #509 GeoImage and RasterImageLayer : why JAI

2020-11-08 Thread Giuseppe Aruta
Hi all, following Michael's comment I did a test on RasterImageLayer substituting JAI in private BufferedImage scaleImage() method and associated ( protected BufferedImage getScaledImageMatchingVisible()). This is the method I used: private BufferedImage scaleImage(BufferedImage srcImg, int xScal

[JPP-Devel] [jump-pilot:bugs] #509 GeoImage and RasterImageLayer : why JAI

2020-11-08 Thread ede via Jump-pilot-devel
the use of JAI operations saves memory afaik. . it ideally creates a chain from loading over computing to rendering. the scaling you mention above seems to use BufferedImage in memory, which of course is faster but needs the whole source image in memory. for cases like Sextante, where images a