1opj_decompress(1)           converts jpeg2000 files          opj_decompress(1)
2
3
4

NAME

6       opj_decompress - This program reads in a jpeg2000 image and converts it
7       to another image type. It is part of the OpenJPEG library.
8
9       Valid input image extensions are .j2k, .jp2, .j2c, .jpt
10
11       Valid output image extensions are .bmp, .pgm, .pgx, .png,  .pnm,  .ppm,
12       .raw, .tga, .tif . For PNG resp. TIF it needs libpng resp. libtiff .
13

SYNOPSIS

15       opj_decompress -i infile.j2k -o outfile.png
16
17       opj_decompress -ImgDir images/ -OutFor bmp
18
19       opj_decompress -h Print help message and exit
20
21       See JPWL OPTIONS for special options
22

OPTIONS

24       -i name
25              (jpeg2000 input file name)
26
27       -l n   n  is the maximum number of quality layers to decode. See LAYERS
28              below)
29
30       -o name
31              (output file name with extension)
32
33       -r n   (n is the highest resolution level to be discarded.  See  REDUC‐
34              TION below)
35
36       -x name
37              (use name as index file and fill it)
38
39       -ImgDir directory_name
40              (directory containing input files)
41
42       -OutFor ext
43              (extension for output files)
44

JPIP OPTIONS

46       Options usable only if the library has been compiled with BUILD_JPIP
47
48       -jpip  Embed  index  table box into the output JP2 file (compulsory for
49              JPIP)
50
51       -TP R  Partition a tile into tile parts of different resolution  levels
52              (compulsory for JPT-stream)
53

JPWL OPTIONS

55       Options usable only if the library has been compiled with BUILD_JPWL
56
57       -W  c[=Nc]  (Nc is the number of expected components in the codestream;
58       default:3)
59
60       -W t[=Nt] (Nt is  the  maximum  number  of  tiles  in  the  codestream;
61       default:8192)
62
63       -W c[=Nc], t[=Nt] (same as above)
64

REDUCTION

66       Set the number of highest resolution levels to be discarded.  The image
67       resolution is effectively divided by 2 to the power of  the  number  of
68       discarded  levels.  The  reduce factor is limited by the smallest total
69       number of decomposition levels among tiles.
70

TILES

72       Set the maximum number of quality layers to decode. If there  are  less
73       quality  layers  than  the specified number, all the quality layers are
74       decoded.
75

AUTHORS

77       Copyright (c) 2002-2014, Universite catholique de Louvain  (UCL),  Bel‐
78       gium
79       Copyright (c) 2002-2014, Professor Benoit Macq
80       Copyright (c) 2001-2003, David Janssens
81       Copyright (c) 2002-2003, Yannick Verschueren
82       Copyright (c) 2003-2007, Francois-Olivier Devaux and Antonin Descampe
83       Copyright (c) 2005, Herve Drolon, FreeImage Team
84       Copyright (c) 2006-2007, Parvatha Elangovan
85

SEE ALSO

87       opj_compress(1) opj_dump(1)
88
89
90
91opj_decompress                   Version 2.1.1               opj_decompress(1)
Impressum