tiff2jp2 - Man Page

tiff2jp2 – convert TIFF to JPEG 2000

Synopsis

tiff2jp2 [--capture-resolution VRESC HRESC] [--display-resolution VRESD HRESD] [--cratio CRATIO] [--psnr PSNR] [--codeblocksize cblkh cblkw] [--numres NUMRES] [--prog {lrcp,rlcp,rpcl,prcl,cprl}] [--irreversible] [--eph] [--plt] [--sop] [--create-exif-uuid] [--create-xmp-uuid] [--exclude-tags [EXCLUDE_TAGS ...]] [--tilesize NROWS NCOLS] [--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

Compression ratio for successive layers. You may specify more than once to get multiple layers. (default: None)

--psnr PSNR

PSNR for successive layers. You may specify more than once to get multiple layers. (default: None)

--codeblocksize cblkh cblkw

Codeblock size. (default: None)

--numres NUMRES

Number of decomposition levels. (default: 0)

--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)

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: False)

--exclude-tags [EXCLUDE_TAGS ...]

Exclude TIFF tag(s) from EXIF UUID (if creating such a 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)

--nouuid

Do not create UUID box for TIFF metadata. (default: True)

tiffile

Input TIFF file.

jp2kfile

Output JPEG 2000 file.

See Also

jp2dump(1)

Referenced By

jp2dump(1).

August 2022