1TIFF2JP2(1) User Commands TIFF2JP2(1)
2
3
4
6 tiff2jp2 – convert TIFF to JPEG 2000
7
9 tiff2jp2 [--capture-resolution VRESC HRESC] [--display-resolu‐
10 tion VRESD HRESD] [--cratio CRATIO] [--psnr PSNR] [--codeblock‐
11 size cblkh cblkw] [--numres NUMRES] [--prog {lrcp,rlcp,rpcl,prcl,cprl}]
12 [--irreversible] [--eph] [--plt] [--sop] [--create-exif-uuid] [--cre‐
13 ate-xmp-uuid] [--exclude-tags [EXCLUDE_TAGS ...]] [--tile‐
14 size NROWS NCOLS] [--help] [--verbosity {critical,error,warn‐
15 ing,info,debug}] tifffile jp2kfile
16
18 Normally you should at least provide the --tilesize argument. Even if
19 the TIFF is tiled, tiff2jp2(1) will NOT automatically use the TIFF tile
20 dimensions.
21
22 -h, --help
23 Show a help message and exit.
24
25 --verbosity {critical,error,warning,info,debug}
26 Logging level, one of “critical”, “error”, “warning”, “info”, or
27 “debug”. (default: warning)
28
29 JP2K
30 Pass-through arguments to Jp2k.
31
32 --capture-resolution VRESC HRESC
33 Capture resolution parameters (default: None)
34
35 --display-resolution VRESD HRESD
36 Display resolution parameters (default: None)
37
38 --cratio CRATIO
39 Compression ratio for successive layers. You may specify more
40 than once to get multiple layers. (default: None)
41
42 --psnr PSNR
43 PSNR for successive layers. You may specify more than once to
44 get multiple layers. (default: None)
45
46 --codeblocksize cblkh cblkw
47 Codeblock size. (default: None)
48
49 --numres NUMRES
50 Number of decomposition levels. (default: 0)
51
52 --prog {lrcp,rlcp,rpcl,prcl,cprl}
53 Progression order. (default: lrcp)
54
55 --irreversible
56 Use irreversible 9x7 transform. (default: False)
57
58 --eph Generate EPH markers. (default: False)
59
60 --plt Generate PLT markers. (default: False)
61
62 --sop Generate SOP markers. (default: False)
63
64 TIFF
65 Arguments specific to conversion of TIFF imagery.
66
67 --create-exif-uuid
68 Create Exif UUID box from TIFF metadata. (default: True)
69
70 --create-xmp-uuid
71 Extract XMLPacket tag value from TIFF IFD and store in XMP UUID
72 box. This will exclude the XMLPacket tag from the Exif UUID
73 box. (default: True)
74
75 --include-icc-profile
76 If specified, subsume any ICC profile (tag 34675) from the TIFF
77 IFD into the colour specification box.
78
79 --exclude-tags [EXCLUDE_TAGS ...]
80 Exclude TIFF tag(s) from EXIF UUID. This option may be speci‐
81 fied as tag numbers or names. (default: None)
82
83 --tilesize NROWS NCOLS
84 Dimensions of JP2K tile. If not provided, the JPEG2000 image
85 will be written as a single tile. (default: None)
86
87 --nouuid
88 Do not create UUID box for TIFF metadata. (default: True)
89
90 tiffile
91 Input TIFF file.
92
93 jp2kfile
94 Output JPEG 2000 file.
95
97 jp2dump(1)
98
99
100
101 August 2022 TIFF2JP2(1)