#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: | |
Cc: |
Description
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)
Change History (6)
by , 12 years ago
Attachment: | format.patch added |
---|
comment:1 by , 12 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Was actually resolved by the CODEC creation option, which I've just documented per r40808
comment:4 by , 6 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 , 6 years ago
CODEC is the terminology used by the openjpeg API. One might argue that this isn't completely appropriate indeed.
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.