Opened 11 years ago

Closed 9 years ago

#4151 closed enhancement (duplicate)

Allow lossless option for NITF-with-JP2KAK

Reported by: jjennings4 Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.8.0
Severity: normal Keywords:
Cc:

Description

When gdal_translate creates NITF format with JP2KAK compression, there is currently no way to set the QUALITY create-option for the JP2KAK driver. It appears that the default QUALITY=20 is always used. This is a special case of driver-within-driver... so it would be nice if somehow the QUALITY=100 (for example) create-option could be sent to the JP2KAK driver.

Note: I'm not sure if NITF-with-JP2KAK has been implemented in GDAL 1.8.0 - it's possible that it is only in the trunk.

Change History (2)

comment:1 by Jukka Rahkonen, 9 years ago

Driver manual page http://www.gdal.org/frmt_nitf.html informs:

JP2KAK : The general JP2KAK-specific creation options can be used (QUALITY, BLOCKXSIZE, BLOCKYSIZE, GMLPJ2, GeoJP2, LAYERS, ROI). Only CreateCopy() method is available. See the JP2KAK driver documentation.

JP2KAK page informs about QUALITY: A value of 100 will result in use of the lossless compression algorithm.

This issue seems to be fixed but I do not know how to test it.

comment:2 by Even Rouault, 9 years ago

Resolution: duplicate
Status: newclosed

Has been implemented per #5386

Note: See TracTickets for help on using tickets.