[gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Ronan Crowley
Hi All, I'm using GDAL (via Java) to view an ECW file. It generally works fine, however I'm having serious memory issues. I have a 6MB ECW file, that when I try to view in its entirety I get OutOfMemory errors. The code I'm using to extract the image is pretty much the code from the

Re: [gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Frank Warmerdam
Ronan Crowley wrote: Hi All, I'm using GDAL (via Java) to view an ECW file. It generally works fine, however I'm having serious memory issues. I have a 6MB ECW file, that when I try to view in its entirety I get OutOfMemory errors. The code I'm using to extract the image is pretty much the

Re: [gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Greg Coats
From a JPEG2000 image, you can use kdu_expand -reduce to quickly extract an image of the top (or any other) level pyramid. In the example below, I extract from a JPEG2000 image, pyramid level 10 from a 142 GB image in 0.10 seconds. Perhaps you could consider using JPEG2000. Greg $ ls -hl

Re: [gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Ronan Crowley
Thanks for the replied Guys. My use of GDAL is very generic, allowing any end user visuaise any image format that GDAL supports via a web browser using a Java backing with JNI bindings to GDAL binaries. (This particular 6MB ECW file is one of hundreds that I've tested) The code as-is works for