| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN"> |
| 2 | <html><head><title>Fiascotopnm User Manual</title></head> |
| 3 | <body> |
| 4 | <h1>fiascotopnm</h1> |
| 5 | Updated: 12 July 2000 |
| 6 | <br> |
| 7 | <a href="#index">Table Of Contents</a> |
| 8 | |
| 9 | <h2>NAME</h2> |
| 10 | fiascotopnm - Convert compressed FIASCO image to PGM, or PPM |
| 11 | |
| 12 | <h2 id="synopsis">SYNOPSIS</h2> |
| 13 | |
| 14 | <b>fiascotopnm </b> |
| 15 | [<i>option</i>]... |
| 16 | [<i>filename</i>]... |
| 17 | |
| 18 | <p>All option names may be abbreviated; for example, --output may be |
| 19 | written --outp or --ou. For all options an one letter short option |
| 20 | is provided. Mandatory or optional arguments to long options are |
| 21 | mandatory or optional for short options, too. Both short and long |
| 22 | options are case sensitive. |
| 23 | |
| 24 | |
| 25 | <h2 id="description">DESCRIPTION</h2> |
| 26 | |
| 27 | <p>This program is part of <a href="index.html">Netpbm</a>. |
| 28 | |
| 29 | <p><b>fiascotopnm</b> decompresses the named FIASCO files, or the |
| 30 | Standard Input if no file is named, and writes the images as PGM, or |
| 31 | PPM files, depending on whether the FIASCO image is black and white or |
| 32 | color. |
| 33 | |
| 34 | <h2 id="options">OPTIONS</h2> |
| 35 | |
| 36 | <p>In addition to the options common to all programs based on libnetpbm |
| 37 | (most notably <b>-quiet</b>, see <a href="index.html#commonoptions"> |
| 38 | Common Options</a>), <b>fiascotopnm</b> recognizes the following |
| 39 | command line options: |
| 40 | |
| 41 | <dl compact> |
| 42 | <dt><b>-o</b>[<i>name</i>], <b>--output=</b>[<i>name</i>] |
| 43 | |
| 44 | <dd> Write decompressed image to the file <i>name</i>.ppm (if PPM) or |
| 45 | <i>name</i>.pgm (if PGM). If <i>name</i> is <b>-</b>, then produce |
| 46 | the image file on the standard output. The optional argument |
| 47 | <i>name</i> can be omitted, then the input filename is used as |
| 48 | basename with the suffix .ppm or .pgm. In case of video streams, the |
| 49 | frames are stored in the files <i>name</i>.<b>N</b>.ppm where <b>N</b> |
| 50 | is the frame number (of the form 00..0 - 99..9); output on the |
| 51 | standard output is not possible with video streams. |
| 52 | |
| 53 | <p> If <i>name</i> is a relative path and the environment variable |
| 54 | <b>FIASCO_IMAGES</b> is a (colon-separated) list of directories, then |
| 55 | the output file(s) are written to the first (writable) directory of |
| 56 | this list. Otherwise, the current directory is used to store the |
| 57 | output file(s). |
| 58 | |
| 59 | <dt><b>-z</b>, <b>--fast</b> |
| 60 | <dd> |
| 61 | Decompress images in the 4:2:0 format; i.e., each chroma channel is |
| 62 | decompressed to an image of halved width and height. Use this option |
| 63 | on slow machines when the desired frame rate is not achieved; the |
| 64 | output quality is only slightly decreased. |
| 65 | |
| 66 | <dt><b>-d</b>, <b>--double</b><dd> |
| 67 | Double the size of the X11 window both in width and height; no pixel |
| 68 | interpolation is used, each pixel is just replaced by four identical |
| 69 | pixels. |
| 70 | |
| 71 | <dt><b>-p</b>, <b>--panel</b> |
| 72 | <dd> |
| 73 | Show a panel with play, stop, pause, record and exit buttons to |
| 74 | control the display of videos. When pressing the record button, all |
| 75 | frames are decompressed and stored in memory. The other buttons work |
| 76 | in the usual way. |
| 77 | |
| 78 | <dt><b>-m</b> <i>N</i>, <b>--magnify=</b><i>N</i> |
| 79 | <dd> |
| 80 | Set magnification of the decompressed image. Positive values enlarge |
| 81 | and negative values reduce the image width and height by a factor of |
| 82 | 2^|<i>N</i>|. |
| 83 | |
| 84 | <dt><b>-s</b> <i>N</i>, <b>--smoothing=</b><i>N</i> |
| 85 | <dd> |
| 86 | Smooth decompressed image(s) along the partitioning borders by the |
| 87 | given amount <i>N</i>. <i>N</i> is 1 (minimum) to 100 (maximum); default |
| 88 | is 70. When <i>N</i>=0, then the smoothing amount specified in the |
| 89 | FIASCO file is used (defined by the FIASCO coder). |
| 90 | |
| 91 | <dt><b>-F</b> <i>N</i>, <b>--fps=</b><i>N</i> |
| 92 | <dd> |
| 93 | Set number of frames per second to <i>N</i>. When using this option, |
| 94 | the frame rate specified in the FIASCO file is overridden. |
| 95 | |
| 96 | <dt><b>--verbose=</b><i>N</i> |
| 97 | <dd> |
| 98 | Set verbose of <b>fiascotopnm</b> to <i>N</i>. |
| 99 | |
| 100 | <dt><b>-v</b>, <b>--version</b> |
| 101 | <dd> |
| 102 | Print <b>fiascotopnm</b> version number, then exit. |
| 103 | |
| 104 | <dt><b>-f</b> <i>name</i>, <b>--config=</b><i>name</i> |
| 105 | |
| 106 | <dd>Load parameter file <i>name</i> to initialize the options of |
| 107 | <b>fiascotopnm</b>. See file <b>system.fiascorc</b> for an example of |
| 108 | the syntax. Options of <b>fiascotopnm </b> are set by any of the |
| 109 | following methods (in the specified order): |
| 110 | |
| 111 | <ol> |
| 112 | <li>Global resource file <b>/etc/system.fiascorc</b> |
| 113 | |
| 114 | <li>$HOME<b>/.fiascorc</b> |
| 115 | |
| 116 | <li>command line |
| 117 | |
| 118 | <li>--config=<i>name</i> |
| 119 | </ol> |
| 120 | |
| 121 | <dt><b>-h</b>, <b>--info</b> |
| 122 | <dd> |
| 123 | Print brief help, then exit. |
| 124 | |
| 125 | <dt><b>-H</b>, <b>--help</b> |
| 126 | <dd> |
| 127 | Print detailed help, then exit. |
| 128 | |
| 129 | </dl> |
| 130 | |
| 131 | |
| 132 | <h2 id="examples">EXAMPLES</h2> |
| 133 | |
| 134 | <pre> |
| 135 | fiascotopnm foo.wfa >foo.ppm |
| 136 | </pre> |
| 137 | |
| 138 | <p>Decompress the FIASCO file "foo.wfa" and store it as |
| 139 | "foo.ppm". |
| 140 | |
| 141 | <pre> |
| 142 | fiascotopnm -o foo1.wfa foo2.wfa |
| 143 | </pre> |
| 144 | |
| 145 | <p>Decompress the FIASCO files "foo1.wfa" and |
| 146 | "foo2.wfa" and write the frames to the image files |
| 147 | "foo1.wfa.ppm" and "foo2.wfa.ppm". |
| 148 | |
| 149 | <pre> |
| 150 | fiascotopnm -oimage foo1.wfa |
| 151 | </pre> |
| 152 | |
| 153 | <p>Decompress the FIASCO file "foo1.wfa" and write all 15 |
| 154 | frames to the image files "image.00.ppm", ... , |
| 155 | "image.14.ppm". |
| 156 | |
| 157 | <pre> |
| 158 | fiascotopnm --fast --magnify=-1 --double video.wfa >stream.ppm |
| 159 | </pre> |
| 160 | |
| 161 | <p>Decompress the FIASCO file "video.wfa". The |
| 162 | decompression speed is as fast as possible: the image is decompressed |
| 163 | (in 4:2:0 format) at a quarter of its original size; then the image is |
| 164 | enlarged again by pixel doubling. |
| 165 | |
| 166 | <h2 id="files">FILES</h2> |
| 167 | |
| 168 | <dl compact> |
| 169 | <dt><b>/etc/system.fiascorc</b> |
| 170 | |
| 171 | <dd>The systemwide initialization file. |
| 172 | |
| 173 | <dt>$HOME<b>/.fiascorc</b> |
| 174 | |
| 175 | <dd>The personal initialization file. |
| 176 | |
| 177 | </dl> |
| 178 | |
| 179 | <h2 id="environment">ENVIRONMENT</h2> |
| 180 | |
| 181 | <dl compact> |
| 182 | <dt><b>FIASCO_IMAGES</b> |
| 183 | |
| 184 | <dd>Save path for image files. Default is "./". |
| 185 | |
| 186 | <dt><b>FIASCO_DATA</b> |
| 187 | |
| 188 | <dd>Search path for FIASCO files. Default is "./". |
| 189 | |
| 190 | </dl> |
| 191 | |
| 192 | |
| 193 | <h2 id="seealso">SEE ALSO</h2> |
| 194 | |
| 195 | <b><a href="pnmtofiasco.html">pnmtofiasco</a></b>, |
| 196 | <b><a href="pnm.html">pnm</a></b> |
| 197 | |
| 198 | <p> |
| 199 | Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger. |
| 200 | <b>Weighted Finite Automata for Video Compression</b>, IEEE Journal on |
| 201 | Selected Areas In Communications, January 1998 |
| 202 | <br> |
| 203 | |
| 204 | Ullrich Hafner. <b>Low Bit-Rate Image and Video Coding with Weighted |
| 205 | Finite Automata</b>, Ph.D. thesis, Mensch & Buch Verlag, ISBN |
| 206 | 3-89820-002-7, October 1999. |
| 207 | |
| 208 | <h2 id="author">AUTHOR</h2> |
| 209 | |
| 210 | Ullrich Hafner <<a href="mailto:[email protected]">[email protected]</a>> |
| 211 | |
| 212 | <hr> |
| 213 | <h2 id="index">Table Of Contents</h2> |
| 214 | <ul> |
| 215 | <li><a href="#synopsis">SYNOPSIS</a> |
| 216 | <li><a href="#description">DESCRIPTION</a> |
| 217 | <li><a href="#options">OPTIONS</a> |
| 218 | <li><a href="#examples">EXAMPLES</a> |
| 219 | <li><a href="#files">FILES</a> |
| 220 | <li><a href="#environment">ENVIRONMENT</a> |
| 221 | <li><a href="#seealso">SEE ALSO</a> |
| 222 | <li><a href="#author">AUTHOR</a> |
| 223 | </ul> |
| 224 | </body> |
| 225 | </html> |
| 226 | |
| 227 |