tiff2jp2 - Man Page

tiff2jp2 – convert TIFF to JPEG 2000

Synopsis

tiff2jp2 [--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] [--create-exif-uuid] [--create-xmp-uuid] [--include-icc-profile] [--exclude-tags [EXCLUDE_TAGS ...]] [--tilesize NROWS NCOLS] [--num-threads NUM_THREADS] [--help] [--verbosity {critical,error,warning,info,debug}] tifffile jp2kfile

Options

Normally you should at least provide the --tilesize argument. Even if the TIFF is tiled, tiff2jp2(1) will NOT automatically use the TIFF tile dimensions.

-h--help

Show a help message and exit.

--verbosity {critical,error,warning,info,debug}

Logging level, one of “critical”, “error”, “warning”, “info”, or “debug”. (default: warning)

JP2K

Pass-through arguments to Jp2k.

--capture-resolution VRESC HRESC

Capture resolution parameters (default: None)

--display-resolution VRESD HRESD

Display resolution parameters (default: None)

--cratio CRATIO [CRATIO ...]

Compression ratio for successive layers. (default: None)

--psnr PSNR [PSNR ...]

PSNR for successive layers. (default: None)

--codeblocksize cblkh cblkw

Codeblock size. (default: None)

--numres NUMRES

Number of decomposition levels. (default: 6)

--prog {lrcp,rlcp,rpcl,prcl,cprl}

Progression order. (default: lrcp)

--irreversible

Use irreversible 9x7 transform. (default: False)

--eph

Generate EPH markers. (default: False)

--plt

Generate PLT markers. (default: False)

--sop

Generate SOP markers. (default: False)

--num-threads NUM_THREADS

Use this many threads/cores. (default: 1)

TIFF

Arguments specific to conversion of TIFF imagery.

--create-exif-uuid

Create Exif UUID box from TIFF metadata. (default: True)

--create-xmp-uuid

Extract XMLPacket tag value from TIFF IFD and store in XMP UUID box. This will exclude the XMLPacket tag from the Exif UUID box. (default: True)

--include-icc-profile

If specified, subsume any ICC profile (tag 34675) from the TIFF IFD into the colour specification box.

--exclude-tags [EXCLUDE_TAGS ...]

Exclude TIFF tag(s) from EXIF UUID. This option may be specified as tag numbers or names. (default: None)

--tilesize NROWS NCOLS

Dimensions of JP2K tile. If not provided, the JPEG2000 image will be written as a single tile. (default: None)

tiffile

Input TIFF file.

jp2kfile

Output JPEG 2000 file.

See Also

jp2dump(1)

Referenced By

jp2dump(1).

May 2023