2010-10-05 12:33:15 +02:00
'\" t
'\" The line above instructs most `man' programs to invoke tbl
'\"
'\" Separate paragraphs; not the same as PP which resets indent level.
.de SP
.if t .sp .5
.if n .sp
. .
'\"
'\" Replacement em-dash for nroff (default is too short).
.ie n .ds m " -
.el .ds m \(em
'\"
'\" Placeholder macro for if longer nroff arrow is needed.
.ds RA \(->
'\"
'\" Decimal point set slightly raised
.if t .ds d \v '-.15m'.\v'+.15m'
.if n .ds d .
'\"
'\" Enclosure macro for examples
.de EX
.SP
.nf
.ft CW
. .
.de EE
.ft R
.SP
.fi
. .
2015-09-16 20:49:45 +02:00
.TH opj_decompress 1 "Version 2.1.1" "opj_decompress" "converts jpeg2000 files"
2010-10-05 12:33:15 +02:00
.P
.SH NAME
2016-09-26 11:26:55 +02:00
opj_decompress \-
2010-10-05 12:33:15 +02:00
This program reads in a jpeg2000 image and converts it to another
image type. It is part of the OpenJPEG library.
.SP
Valid input image extensions are
.B .j2k, .jp2, .j2c, .jpt
.SP
Valid output image extensions are
.B .bmp, .pgm, .pgx, .png, .pnm, .ppm, .raw, .tga, .tif \fR . For PNG resp. TIF it needs libpng resp. libtiff .
.SH SYNOPSIS
.P
2016-09-26 11:26:55 +02:00
.B opj_decompress \- i \fR infile.j2k \fB -o \fR outfile.png
2010-10-05 12:33:15 +02:00
.P
2016-09-26 11:26:55 +02:00
.B opj_decompress \- ImgDir \fR images/ \fB -OutFor \fR bmp
2010-10-05 12:33:15 +02:00
.P
2016-09-26 11:26:55 +02:00
.B opj_decompress \- h \fR Print help message and exit
2010-10-05 12:33:15 +02:00
.P
2017-03-05 16:08:57 +01:00
See JPWL OPTIONS for special options
2010-10-05 12:33:15 +02:00
.SH OPTIONS
.TP
.B \- \^ i "name"
(jpeg2000 input file name)
.TP
.B \- \^ l "n"
n is the maximum number of quality layers to decode. See LAYERS below)
.TP
.B \- \^ o "name"
(output file name with extension)
.TP
.B \- \^ r "n"
(n is the highest resolution level to be discarded. See REDUCTION below)
.TP
.B \- \^ x "name"
(use name as index file and fill it)
.TP
.B \- \^ ImgDir "directory_name"
(directory containing input files)
.TP
.B \- \^ OutFor "ext"
(extension for output files)
.P
2015-09-16 20:54:34 +02:00
.SH JPIP OPTIONS
Options usable only if the library has been compiled with
.B BUILD_JPIP
.TP
.B -jpip
Embed index table box into the output JP2 file (compulsory for JPIP)
.TP
.B -TP R
Partition a tile into tile parts of different resolution levels (compulsory for JPT-stream)
.P
2010-10-05 12:33:15 +02:00
.SH JPWL OPTIONS
Options usable only if the library has been compiled with
2015-09-16 20:54:34 +02:00
.B BUILD_JPWL
2010-10-05 12:33:15 +02:00
.TP
.B -W c\fR[=Nc] (Nc is the number of expected components in the codestream; default:3)
.TP
.B -W t\fR[=Nt] (Nt is the maximum number of tiles in the codestream; default:8192)
.TP
.B -W c\fR[=Nc]\fB, t\fR[=Nt] \fR (same as above)
.P
.SH REDUCTION
Set the number of highest resolution levels to be discarded.
The image resolution is effectively divided by 2 to the power of the number of discarded levels. The reduce factor is limited by the smallest total number of decomposition levels among tiles.
.SH TILES
Set the maximum number of quality layers to decode. If there are less quality layers than the specified number, all the quality layers are decoded.
.P
'\".SH BUGS
.SH AUTHORS
2014-04-03 17:30:57 +02:00
Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
2010-10-05 12:33:15 +02:00
.br
2014-04-03 17:30:57 +02:00
Copyright (c) 2002-2014, Professor Benoit Macq
2010-10-05 12:33:15 +02:00
.br
Copyright (c) 2001-2003, David Janssens
.br
Copyright (c) 2002-2003, Yannick Verschueren
.br
Copyright (c) 2003-2007, Francois-Olivier Devaux and Antonin Descampe
.br
Copyright (c) 2005, Herve Drolon, FreeImage Team
.br
Copyright (c) 2006-2007, Parvatha Elangovan
.P
.SH "SEE ALSO"
2012-09-28 11:12:22 +02:00
opj_compress(1) opj_dump(1)