GDAL JP2KAK request to extend QUALITY range
|Reported by:||Coatman||Owned by:||warmerdam|
As the GDAL JP2KAK Quality decreases, the time required by the Kakadu JPEG2000 compressor decreases. Before starting Kakadu-based JPEG2000 compression jobs that are going to run for many hours / several days, I frequently make a test run using a high compression ratio, equivalent to JP2KAK Quality=0.001. Currently, JP2KAK refuses to process requests for Quality < 1.0. I suggest consideration be given to changing line 2226 of 1.6/gdal/frmts/jp2kak/jp2kakdataset.cpp from if( dfQuality < 1.0 to if( dfQuality < 0.001.