INR2JP2 (1I)     version 1.0.0, Inrimage 4.6.9     March 2022

User Intro    Prog Intro    Liste des commandes    Liste des manuels
Table of Contents


NAME

inr2jp2 - convert an Inrimage image to a JPEG 2000 image.

SYNOPSYS

inr2jp2 -lc
inr2jp2 [input] [jp2-file] [-c=%s] [-o=%s] [-r] [-q %d] [-d] [-D]

DESCRIPTION

inr2jp2 converts an Inrimage image to Jpeg 2000 format. Input image should be RGB 24 bits (with NDIMZ=3 or NDIMV=3) or 1-byte grayscale (with NDIMV=NDIMZ=1). Severals Jpeg 2000 codecs, provided by the JASPER library, are available (see -lc,-c options).

The output format is selected depending on the filename extension if the extension is found among the list of available codec. For example, image.jp2 is encoded using the jp2 codec. The choice of codec may be overloaded using the option -c.

AVAILABLE OPTIONS

-c=
convert using a specific encoder. See -lc option to list available codecs.
-o=
give an option to encoder. These options are discribed in the Jasper documentation.
-r
set the Jpeg 2000 rate compression. It is a shortcut to an -o= option of Jpeg 2000 codecs.
-q
set the Jpeg quality compression. It is a shortcut to an -o= option of the Jpeg codec.
-d
print Jasper traces.
-D
print Inrimage traces.

LIMITATIONS

- Only images with 1 or 3 components (or frames) may be converted.
- Only 1-byte images are converted.
- Colormap, sign or exponent are ignored.

SEE ALSO

jp22inr(1i) See Inrimage(1i) for a description of general options.

TODO

Handle signed images.