03. grk_dump - GrokImageCompression/grok GitHub Wiki

3. grk_dump

grk_dump

This program dumps JPEG 2000 code stream information to stdout or to a given file.

Supported input formats: JP2, J2K/J2C/JPC, JPH and JHC The file type is identified based on its suffix.

-h

Print a brief help message and exit.

--help

Print a detailed help message and exit.

-i, --input [compressed file]

Input file. Required unless --batch-src is used. Currently accepts J2K-files, JP2-files, JPH and JHC files.

-o, --output [output file]

Output file where code stream info will be dumped. By default it will be written to stdout.

-y, --batch-src [directory]

Image file directory path. Batch processes all JPEG 2000 files in the directory.

-f, --flag [flag value]

Flag for controlling the level of dump detail. Default value: 0.