[Gdal-dev] jasper for very large jpeg 2000 images
Kurt Schwehr
schwehr at ccom.unh.edu
Mon Oct 15 16:24:32 EDT 2007
Hi All,
Is there a way to allow very large images to make it through the
drivers? I'm trying to convert HiRise images from Mars without luck.
For example trying to subset a quicklook image
gdal_translate -of PNG -srcwin 10 10 1000 1000
PSP_005372_1515_RED.QLOOK.JP2 foo.png
Input file size is 32369, 95295
error: cannot decode code stream
gdal_translate(22843) malloc: *** vm_allocate(size=3084607488) failed
(error code=3)
gdal_translate(22843) malloc: *** error: can't allocate region
gdal_translate(22843) malloc: *** set a breakpoint in szone_error to debug
ERROR 2: Internalize failed
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
libpng error: No IDATs written into file
Abort trap
I'm guessing that this is an architectural issue with gdal?
Thanks,
-kurt
More information about the Gdal-dev
mailing list