{
    "mode": "man",
    "parameter": "fiascotopnm",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/man/fiascotopnm/json",
    "generated": "2026-10-25T19:10:14Z",
    "synopsis": "fiascotopnm [option]...  [filename]...\nAll option names may be abbreviated; for example, --output may be written --outp or --ou. For\nall  options  an one letter short option is provided. Mandatory or optional arguments to long\noptions are mandatory or optional for short options, too. Both short  and  long  options  are\ncase sensitive.",
    "sections": {
        "NAME": {
            "content": "fiascotopnm - Convert compressed FIASCO image to PGM, or PPM\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "fiascotopnm [option]...  [filename]...\n\nAll option names may be abbreviated; for example, --output may be written --outp or --ou. For\nall  options  an one letter short option is provided. Mandatory or optional arguments to long\noptions are mandatory or optional for short options, too. Both short  and  long  options  are\ncase sensitive.\n\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\nfiascotopnm  decompresses  the named FIASCO files, or the Standard Input if no file is named,\nand writes the images as PGM, or PPM files, depending on whether the FIASCO  image  is  black\nand white or color.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In  addition  to  the options common to all programs based on libnetpbm (most notably -quiet,\nsee  Common Options ), fiascotopnm recognizes the following command line options:\n\n\n",
            "subsections": [
                {
                    "name": "-o --output=",
                    "content": "Write decompressed image to the file name.ppm (if PPM) or name.pgm (if PGM).  If name\nis -, then produce the image file on the standard output. The optional  argument  name\ncan  be  omitted,  then the input filename is used as basename with the suffix .ppm or\n.pgm. In case of video streams, the frames are stored in the files name.N.ppm where  N\nis  the frame number (of the form 00..0 - 99..9); output on the standard output is not\npossible with video streams.\n\nIf name is a relative path and the environment variable FIASCOIMAGES  is  a  (colon-\nseparated)  list  of  directories,  then  the  output file(s) are written to the first\n(writable) directory of this list. Otherwise, the current directory is used  to  store\nthe output file(s).\n\n",
                    "flag": "-o"
                },
                {
                    "name": "-z --fast",
                    "content": "Decompress images in the 4:2:0 format; i.e., each chroma channel is decompressed to an\nimage  of  halved  width and height. Use this option on slow machines when the desired\nframe rate is not achieved; the output quality is only slightly decreased.\n\n",
                    "flag": "-z",
                    "long": "--fast"
                },
                {
                    "name": "-d --double",
                    "content": "Double the size of the X11 window both in width and height; no pixel interpolation  is\nused, each pixel is just replaced by four identical pixels.\n\n",
                    "flag": "-d",
                    "long": "--double"
                },
                {
                    "name": "-p --panel",
                    "content": "Show a panel with play, stop, pause, record and exit buttons to control the display of\nvideos.  When  pressing  the  record button, all frames are decompressed and stored in\nmemory. The other buttons work in the usual way.\n\n",
                    "flag": "-p",
                    "long": "--panel"
                },
                {
                    "name": "-m _ --magnify=_",
                    "content": "Set magnification of the decompressed image. Positive values enlarge and negative val‐\nues reduce the image width and height by a factor of 2^|N|.\n\n",
                    "flag": "-m",
                    "long": "--magnify",
                    "arg": "_"
                },
                {
                    "name": "-s _ --smoothing=_",
                    "content": "Smooth decompressed image(s) along the partitioning borders by the given amount  N.  N\nis  1  (minimum)  to 100 (maximum); default is 70. When N=0, then the smoothing amount\nspecified in the FIASCO file is used (defined by the FIASCO coder).\n\n",
                    "flag": "-s",
                    "long": "--smoothing",
                    "arg": "_"
                },
                {
                    "name": "-F _ --fps=_",
                    "content": "Set number of frames per second to N. When using this option, the frame rate specified\nin the FIASCO file is overridden.\n\n\n--verbose=N\nSet verbose of fiascotopnm to N.\n\n",
                    "flag": "-F",
                    "long": "--fps",
                    "arg": "_"
                },
                {
                    "name": "-v --version",
                    "content": "Print fiascotopnm version number, then exit.\n\n",
                    "flag": "-v",
                    "long": "--version"
                },
                {
                    "name": "-f _ --config=_",
                    "content": "Load parameter file name to initialize the options  of  fiascotopnm.   See  file  sys‐\ntem.fiascorc  for  an example of the syntax. Options of fiascotopnm  are set by any of\nthe following methods (in the specified order):\n\n\n\n•      Global resource file /etc/system.fiascorc\n\n\n•      $HOME/.fiascorc\n\n\n•      command line\n\n\n•      --config=name\n\n\n",
                    "flag": "-f",
                    "long": "--config",
                    "arg": "_"
                },
                {
                    "name": "-h --info",
                    "content": "Print brief help, then exit.\n\n",
                    "flag": "-h",
                    "long": "--info"
                },
                {
                    "name": "-H --help",
                    "content": "Print detailed help, then exit.\n\n\n\n\n",
                    "flag": "-H",
                    "long": "--help"
                }
            ]
        },
        "EXAMPLES": {
            "content": "fiascotopnm foo.wfa >foo.ppm\n\n\nDecompress the FIASCO file \"foo.wfa\" and store it as \"foo.ppm\".\n\nfiascotopnm -o foo1.wfa foo2.wfa\n\n\nDecompress the FIASCO files \"foo1.wfa\" and \"foo2.wfa\" and write the frames to the image files\n\"foo1.wfa.ppm\" and \"foo2.wfa.ppm\".\n\nfiascotopnm -oimage foo1.wfa\n\n\nDecompress the FIASCO file \"foo1.wfa\" and write  all  15  frames  to  the  image  files  \"im‐\nage.00.ppm\", ... , \"image.14.ppm\".\n\nfiascotopnm --fast --magnify=-1 --double video.wfa >stream.ppm\n\n\nDecompress  the FIASCO file \"video.wfa\".  The decompression speed is as fast as possible: the\nimage is decompressed (in 4:2:0 format) at a quarter of its original size; then the image  is\nenlarged again by pixel doubling.\n\n",
            "subsections": []
        },
        "FILES": {
            "content": "",
            "subsections": [
                {
                    "name": "/etc/system.fiascorc",
                    "content": "The systemwide initialization file.\n\n\n$HOME/.fiascorc\nThe personal initialization file.\n\n\n\n"
                }
            ]
        },
        "ENVIRONMENT": {
            "content": "FIASCOIMAGES\nSave path for image files. Default is \"./\".\n\n\nFIASCODATA\nSearch path for FIASCO files. Default is \"./\".\n\n\n\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pnmtofiasco(1), pnm(1)\n\nUllrich  Hafner,  Juergen  Albert, Stefan Frank, and Michael Unger.  Weighted Finite Automata\nfor Video Compression, IEEE Journal on Selected Areas In Communications, January 1998 Ullrich\nHafner. Low Bit-Rate Image and Video Coding with Weighted Finite Automata, Ph.D. thesis, Men‐\nsch & Buch Verlag, ISBN 3-89820-002-7, October 1999.\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Ullrich Hafner <hafner@bigfoot.de>\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/fiascotopnm.html\n\nnetpbm documentation                        12 July 2000                  Fiascotopnm User Manual(1)",
            "subsections": []
        }
    },
    "summary": "fiascotopnm - Convert compressed FIASCO image to PGM, or PPM",
    "flags": [
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "Write decompressed image to the file name.ppm (if PPM) or name.pgm (if PGM). If name is -, then produce the image file on the standard output. The optional argument name 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 name.N.ppm where N is the frame number (of the form 00..0 - 99..9); output on the standard output is not possible with video streams. If name is a relative path and the environment variable FIASCOIMAGES 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)."
        },
        {
            "flag": "-z",
            "long": "--fast",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "-d",
            "long": "--double",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "-p",
            "long": "--panel",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "-m",
            "long": "--magnify",
            "arg": "_",
            "description": "Set magnification of the decompressed image. Positive values enlarge and negative val‐ ues reduce the image width and height by a factor of 2^|N|."
        },
        {
            "flag": "-s",
            "long": "--smoothing",
            "arg": "_",
            "description": "Smooth decompressed image(s) along the partitioning borders by the given amount N. N is 1 (minimum) to 100 (maximum); default is 70. When N=0, then the smoothing amount specified in the FIASCO file is used (defined by the FIASCO coder)."
        },
        {
            "flag": "-F",
            "long": "--fps",
            "arg": "_",
            "description": "Set number of frames per second to N. When using this option, the frame rate specified in the FIASCO file is overridden. --verbose=N Set verbose of fiascotopnm to N."
        },
        {
            "flag": "-v",
            "long": "--version",
            "arg": null,
            "description": "Print fiascotopnm version number, then exit."
        },
        {
            "flag": "-f",
            "long": "--config",
            "arg": "_",
            "description": "Load parameter file name to initialize the options of fiascotopnm. See file sys‐ tem.fiascorc for an example of the syntax. Options of fiascotopnm are set by any of the following methods (in the specified order): • Global resource file /etc/system.fiascorc • $HOME/.fiascorc • command line • --config=name"
        },
        {
            "flag": "-h",
            "long": "--info",
            "arg": null,
            "description": "Print brief help, then exit."
        },
        {
            "flag": "-H",
            "long": "--help",
            "arg": null,
            "description": "Print detailed help, then exit."
        }
    ],
    "examples": [
        "fiascotopnm foo.wfa >foo.ppm",
        "Decompress the FIASCO file \"foo.wfa\" and store it as \"foo.ppm\".",
        "fiascotopnm -o foo1.wfa foo2.wfa",
        "Decompress the FIASCO files \"foo1.wfa\" and \"foo2.wfa\" and write the frames to the image files",
        "\"foo1.wfa.ppm\" and \"foo2.wfa.ppm\".",
        "fiascotopnm -oimage foo1.wfa",
        "Decompress the FIASCO file \"foo1.wfa\" and write  all  15  frames  to  the  image  files  \"im‐",
        "age.00.ppm\", ... , \"image.14.ppm\".",
        "fiascotopnm --fast --magnify=-1 --double video.wfa >stream.ppm",
        "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."
    ],
    "see_also": [
        {
            "name": "pnmtofiasco",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmtofiasco/1/json"
        },
        {
            "name": "pnm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnm/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Convert a compressed FIASCO file to a PNM image.",
        "examples": [
            {
                "description": "Convert a compressed FIASCO file to a PNM file or in the case of video streams multiple PNM files",
                "command": "fiascotopnm {{path/to/file.fiasco}} {{-o|--output}} {{output_file_basename}}"
            },
            {
                "description": "Use fast decompression, resulting in a slightly decreased quality of the output file(s)",
                "command": "fiascotopnm {{-z|--fast}} {{path/to/file.fiasco}} {{-o|--output}} {{output_file_basename}}"
            },
            {
                "description": "Load the options to be used from the specified configuration file",
                "command": "fiascotopnm {{-f|--config}} {{path/to/fiascorc}} {{path/to/file.fiasco}} {{-o|--output}} {{output_file_basename}}"
            },
            {
                "description": "Magnify the decompressed image(s) by a factor of 2^n",
                "command": "fiascotopnm {{-m|--magnify}} {{n}} {{path/to/file.fiasco}} {{-o|--output}} {{output_file_basename}}"
            },
            {
                "description": "Smooth the decompressed image by the specified amount",
                "command": "fiascotopnm {{-s|--smoothing}} {{n}} {{path/to/file.fiasco}} {{-o|--output}} {{output_file_basename}}"
            }
        ]
    }
}