Opened 11 years ago

Closed 5 years ago

Last modified 5 years ago

#4320 closed enhancement (fixed)

JP2KAK driver needs a create option to write codestream only

Reported by: jeepingben Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:


In order to create Nitf images using the JP2KAK driver for compression, the driver needs an option to specify that only the codestream should be written.

It is currently possible to force the JP2KAK driver to write only the codestream if the output filename is *.jpc.

The Jasper driver uses a creation option "FORMAT=JPC", the JP2ECW driver uses "CODESTREAM_ONLY=TRUE".

Attachments (1)

format.patch (2.2 KB ) - added by jeepingben 11 years ago.

Download all attachments as: .zip

Change History (6)

by jeepingben, 11 years ago

Attachment: format.patch added

comment:1 by jeepingben, 11 years ago

I've attached the change that makes this work for me. I've added a format creation option. I have not tested the JPX part of it.

comment:2 by Jukka Rahkonen, 5 years ago

Is this resolved now by r40806?

comment:3 by Even Rouault, 5 years ago

Resolution: fixed
Status: newclosed

Was actually resolved by the CODEC creation option, which I've just documented per r40808

comment:4 by Jukka Rahkonen, 5 years ago

But isn't CODEC a bit misleading name if the codestream is the same in both cases but the difference is if it is wrapped into .jp2 (or .jpx) or not?

comment:5 by Even Rouault, 5 years ago

CODEC is the terminology used by the openjpeg API. One might argue that this isn't completely appropriate indeed.

Note: See TracTickets for help on using tickets.