On 16/01/13 02:42, Michael Bedward wrote: > Hi Akos, > > Andrea, Jody and others here are rendering gurus and I hope they will > follow with more expert advice, but I'll get the ball rolling... > > If the destination image fits into available memory then yes, simply > create a Graphics2D instance from the image and pass that to the > renderer. > > If the destination image is way too big for available memory you might > have a look at the JAITools DiskMemImage class. This is a tiled image > class that caches tiles both in memory and in temporary files on disk. > > http://jaitools.org/docs/jaitools/stable/apidocs/org/jaitools/tiledimage/DiskMemImage.html > > You can tune the volume of image data that is stored in memory vs on > disk to reduce disk i/o time. However, it will still be a great deal > slower than having the entire image in memory. > looks nice. I tried to include it in my project, but I get the following when instantiating a DiskMemImage class:
Error while parsing JAI registry file "file:/home/akos/.m2/repository/org/jaitools/jt-all/1.3.0/jt-all-1.3.0.jar!/META-INF/registryFile.jai" : Error in registry file at line number #81 A descriptor is already registered against the name "ZonalStats" under registry mode "rendered" and, the result is different, for example, no text is rendered on the generated image - whereas with TiledImage, the text is rendered properly. interestingly, in this case I also get the same error as above, as long as jaitools is referenced by the project I wonder what am I doing wrong? ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users