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