opj_decompress.1 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. '\" t
  2. '\" The line above instructs most `man' programs to invoke tbl
  3. '\"
  4. '\" Separate paragraphs; not the same as PP which resets indent level.
  5. .de SP
  6. .if t .sp .5
  7. .if n .sp
  8. ..
  9. '\"
  10. '\" Replacement em-dash for nroff (default is too short).
  11. .ie n .ds m " -
  12. .el .ds m \(em
  13. '\"
  14. '\" Placeholder macro for if longer nroff arrow is needed.
  15. .ds RA \(->
  16. '\"
  17. '\" Decimal point set slightly raised
  18. .if t .ds d \v'-.15m'.\v'+.15m'
  19. .if n .ds d .
  20. '\"
  21. '\" Enclosure macro for examples
  22. .de EX
  23. .SP
  24. .nf
  25. .ft CW
  26. ..
  27. .de EE
  28. .ft R
  29. .SP
  30. .fi
  31. ..
  32. .TH opj_decompress 1 "Version 2.1.1" "opj_decompress" "converts jpeg2000 files"
  33. .P
  34. .SH NAME
  35. opj_decompress \-
  36. This program reads in a jpeg2000 image and converts it to another
  37. image type. It is part of the OpenJPEG library.
  38. .SP
  39. Valid input image extensions are
  40. .B .j2k, .jp2, .j2c, .jpt
  41. .SP
  42. Valid output image extensions are
  43. .B .bmp, .pgm, .pgx, .png, .pnm, .ppm, .raw, .tga, .tif \fR. For PNG resp. TIF it needs libpng resp. libtiff .
  44. .SH SYNOPSIS
  45. .P
  46. .B opj_decompress \-i \fRinfile.j2k \fB-o \fRoutfile.png
  47. .P
  48. .B opj_decompress \-ImgDir \fRimages/ \fB-OutFor \fRbmp
  49. .P
  50. .B opj_decompress \-h \fRPrint help message and exit
  51. .P
  52. See JPWL OPTIONS for special options
  53. .SH OPTIONS
  54. .TP
  55. .B \-\^i "name"
  56. (jpeg2000 input file name)
  57. .TP
  58. .B \-\^l "n"
  59. n is the maximum number of quality layers to decode. See LAYERS below)
  60. .TP
  61. .B \-\^o "name"
  62. (output file name with extension)
  63. .TP
  64. .B \-\^r "n"
  65. (n is the highest resolution level to be discarded. See REDUCTION below)
  66. .TP
  67. .B \-\^x "name"
  68. (use name as index file and fill it)
  69. .TP
  70. .B \-\^ImgDir "directory_name"
  71. (directory containing input files)
  72. .TP
  73. .B \-\^OutFor "ext"
  74. (extension for output files)
  75. .P
  76. .SH JPIP OPTIONS
  77. Options usable only if the library has been compiled with
  78. .B BUILD_JPIP
  79. .TP
  80. .B -jpip
  81. Embed index table box into the output JP2 file (compulsory for JPIP)
  82. .TP
  83. .B -TP R
  84. Partition a tile into tile parts of different resolution levels (compulsory for JPT-stream)
  85. .P
  86. .SH JPWL OPTIONS
  87. Options usable only if the library has been compiled with
  88. .B BUILD_JPWL
  89. .TP
  90. .B -W c\fR[=Nc] (Nc is the number of expected components in the codestream; default:3)
  91. .TP
  92. .B -W t\fR[=Nt] (Nt is the maximum number of tiles in the codestream; default:8192)
  93. .TP
  94. .B -W c\fR[=Nc]\fB, t\fR[=Nt] \fR(same as above)
  95. .P
  96. .SH REDUCTION
  97. Set the number of highest resolution levels to be discarded.
  98. 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.
  99. .SH TILES
  100. 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.
  101. .P
  102. '\".SH BUGS
  103. .SH AUTHORS
  104. Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
  105. .br
  106. Copyright (c) 2002-2014, Professor Benoit Macq
  107. .br
  108. Copyright (c) 2001-2003, David Janssens
  109. .br
  110. Copyright (c) 2002-2003, Yannick Verschueren
  111. .br
  112. Copyright (c) 2003-2007, Francois-Olivier Devaux and Antonin Descampe
  113. .br
  114. Copyright (c) 2005, Herve Drolon, FreeImage Team
  115. .br
  116. Copyright (c) 2006-2007, Parvatha Elangovan
  117. .P
  118. .SH "SEE ALSO"
  119. opj_compress(1) opj_dump(1)