Scroll to navigation

JPEG2JP2(1) User Commands JPEG2JP2(1)

NAME

jpeg2jp2 - Convert JPEG to JPEG 2000.

DESCRIPTION

usage: jpeg2jp2 [--capture-resolution VRESC HRESC] [--display-resolution VRESD HRESD] [--cratio CRATIO [CRATIO ...]] [--psnr PSNR [PSNR ...]] [--codeblocksize cblkh cblkw] [--numres NUMRES] [--prog {lrcp,rlcp,rpcl,prcl,cprl}] [--irreversible] [--eph] [--plt] [--sop] [--num-threads NUM_THREADS] [--tilesize NROWS NCOLS] [--include-icc-profile] [--help] [--verbosity {critical,error,warning,info,debug}] jpeg jp2k

options:

Show this help message and exit
Logging level, one of "critical", "error", "warning", "info", or "debug". (default: warning)

JP2K:

Pass-through arguments to Jp2k.
Capture resolution parameters (default: None)
Display resolution parameters (default: None)
Compression ratios for successive layers. (default: None)
PSNR for successive layers. (default: None)
Codeblock size. (default: None)
Number of decomposition levels. (default: 6)
Progression order. (default: lrcp)
Use irreversible 9x7 transform. (default: False)
Generate EPH markers. (default: False)
Generate PLT markers. (default: False)
Generate SOP markers. (default: False)
Use this many threads/cores. (default: 1)
Dimensions of JP2K tile. If not provided, the JPEG2000 image will be written as a single tile. (default: None)

JPEG:

Arguments specific to conversion of JPEG imagery.
If specified, subsume any ICC profile found in an APP2 segment(s) into the colour specification box. This will involve a file copy and is therefore a potentially costly operation. (default: False)
Input JPEG file.
Output JPEG 2000 file.
March 2025 jpeg2jp2 0.14.0