.TL Fiascotopnm User Manual .SH 1 fiascotopnm .LP Updated: 12 July 2000 .br Table Of Contents .SH 2 NAME .LP fiascotopnm - Convert compressed FIASCO image to PGM, or PPM .SH 2 SYNOPSIS .LP \fBfiascotopnm \fR [\fIoption\fR]... [\fIfilename\fR]... .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBfiascotopnm\fR decompresses the named FIASCO files, or the Standard Input if no file is named, and writes the images as PGM, or PPM files, depending on whether the FIASCO image is black and white or color. .SH 2 OPTIONS .LP .LP All option names may be abbreviated; for example, --output may be written --outp or --ou. For all options an one letter short option is provided. Mandatory or optional arguments to long options are mandatory or optional for short options, too. Both short and long options are case sensitive. .RS .IP "\fB-o\fR[\fIname\fR], \fB--output=\fR[\fIname\fR]" Write decompressed image to the file \fIname\fR.ppm (if PPM) or \fIname\fR.pgm (if PGM). If \fIname\fR is \fB-\fR, then produce the image file on the standard output. The optional argument \fIname\fR can be omitted, then the input filename is used as basename with the suffix .ppm or .pgm. In case of video streams, the frames are stored in the files \fIname\fR.\fBN\fR.ppm where \fBN\fR is the frame number (of the form 00..0 - 99..9); output on the standard output is not possible with video streams. .LP If \fIname\fR is a relative path and the environment variable \fBFIASCO_IMAGES\fR is a (colon-separated) list of directories, then the output file(s) are written to the first (writable) directory of this list. Otherwise, the current directory is used to store the output file(s). .IP "\fB-z\fR, \fB--fast\fR" Decompress images in the 4:2:0 format; i.e., each chroma channel is decompressed to an image of halved width and height. Use this option on slow machines when the desired frame rate is not achieved; the output quality is only slightly decreased. .IP "\fB-d\fR, \fB--double\fR" Double the size of the X11 window both in width and height; no pixel interpolation is used, each pixel is just replaced by four identical pixels. .IP "\fB-p\fR, \fB--panel\fR" Show a panel with play, stop, pause, record and exit buttons to control the display of videos. When pressing the record button, all frames are decompressed and stored in memory. The other buttons work in the usual way. .IP "\fB-m\fR \fIN\fR, \fB--magnify=\fR\fIN\fR" Set magnification of the decompressed image. Positive values enlarge and negative values reduce the image width and height by a factor of 2^|\fIN\fR|. .IP "\fB-s\fR \fIN\fR, \fB--smooth=\fR\fIN\fR" Smooth decompressed image(s) along the partitioning borders by the given amount \fIN\fR. \fIN\fR is 1 (minimum) to 100 (maximum); default is 70. When \fIN\fR=0, then the smoothing amount specified in the FIASCO file is used (defined by the FIASCO coder). .IP "\fB-F\fR \fIN\fR, \fB--fps=\fR\fIN\fR" Set number of frames per second to \fIN\fR. When using this option, the frame rate specified in the FIASCO file is overridden. .IP "\fB-v\fR, \fB--version\fR" Print \fBfiascotopnm\fR version number, then exit. .IP "\fB-f\fR \fIname\fR, \fB--config=\fR\fIname\fR" Load parameter file \fIname\fR to initialize the options of \fBfiascotopnm\fR. See file \fBsystem.fiascorc\fR for an example of the syntax. Options of \fBfiascotopnm \fR are set by any of the following methods (in the specified order): .IP 1 Global ressource file \fB/etc/system.fiascorc\fR .IP 2 $HOME\fB/.fiascorc\fR .IP 3 command line .IP 4 --config=\fIname\fR .LP .IP "\fB-h\fR, \fB--info\fR" Print brief help, then exit. .IP "\fB-H\fR, \fB--help\fR" Print detailed help, then exit. .RE .SH 2 EXAMPLES .LP .DS L fiascotopnm foo.wfa >foo.ppm .DE .LP Decompress the FIASCO file "foo.wfa" and store it as "foo.ppm". .DS L fiascotopnm -o foo1.wfa foo2.wfa .DE .LP Decompress the FIASCO files "foo1.wfa" and "foo2.wfa" and write the frames to the image files "foo1.wfa.ppm" and "foo2.wfa.ppm". .DS L fiascotopnm -oimage foo1.wfa .DE .LP Decompress the FIASCO file "foo1.wfa" and write all 15 frames to the image files "image.00.ppm", ... , "image.14.ppm". .DS L fiascotopnm --fast --magnify=-1 --double video.wfa >stream.ppm .DE .LP Decompress the FIASCO file "video.wfa". The decompression speed is as fast as possible: the image is decompressed (in 4:2:0 format) at a quarter of its original size; then the image is enlarged again by pixel doubling. .SH 2 FILES .LP .RS .IP "\fB/etc/system.fiascorc\fR" The systemwide initialization file. .IP "$HOME\fB/.fiascorc\fR" The personal initialization file. .RE .SH 2 ENVIRONMENT .LP .RS .IP "\fBFIASCO_IMAGES\fR" Save path for image files. Default is "./". .IP "\fBFIASCO_DATA\fR" Search path for FIASCO files. Default is "./". .RE .SH 2 SEE ALSO .LP \fBpnmtofiasco\fR, \fBpnm\fR .LP Ullrich Hafner, Juergen Albert, Stefan Frank, and Michael Unger. \fBWeighted Finite Automata for Video Compression\fR, IEEE Journal on Selected Areas In Communications, January 1998 .br Ullrich Hafner. \fBLow Bit-Rate Image and Video Coding with Weighted Finite Automata\fR, Ph.D. thesis, Mensch & Buch Verlag, ISBN 3-89820-002-7, October 1999. .SH 2 AUTHOR .LP Ullrich Hafner .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu EXAMPLES .IP \(bu FILES .IP \(bu ENVIRONMENT .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP