man > ximtoppm(1)

TLDR: ximtoppm (tldr-pages)

Convert a XIM file to a PPM image.

  • Convert an XIM image to a PPM image
    ximtoppm {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}
  • Store the transparency mask of the input image in the specified file
    ximtoppm {{-a|-alphaout}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xim}} > {{path/to/output_file.ppm}}
Ximtoppm User Manual(1)                General Commands Manual               Ximtoppm User Manual(1)

NAME
       ximtoppm - convert an Xim file to a PPM image


SYNOPSIS
       ximtoppm

       [--alphaout={alpha-filename,-}] [ximfile]


DESCRIPTION
       This program is part of Netpbm(1).

       ximptoppm  reads an Xim file as input and produces a PPM image as output.  The Xim toolkit is
       included in the contrib tree of the X.V11R4 release.


OPTIONS
       In addition to the options common to all programs based on libnetpbm  (most  notably  -quiet,
       see ]8;;index.html#commonoptions\ Common Options]8;;\ ), ximtoppm recognizes the following command line option:

       You can abbreviate any option to its shortest unique prefix.



       --alphaout=alpha-filename
              ximtoppm  creates  a  PGM file containing the transparency channel values in the input
              image.  If the input image doesn't contain a transparency channel, the  alpha-filename
              file  contains all zero (transparent) transparency values.  If you don't specify --al‐
              phaout, ximtoppm does not generate a transparency file, and if the input image  has  a
              transparency channel, ximtoppm simply discards it.

              If  you specify - as the filename, ximtoppm writes the transparency output to Standard
              Output and discards the image.

              Actually, an Xim image can contain an arbitrary fourth channel -- it  need  not  be  a
              transparency  channel.   ximtoppm  extracts  any  fourth channel it finds as described
              above; it doesn't matter if it is a transparency channel or not.

              See pamcomp(1) for one way to use the transparency output file.




SEE ALSO
       pamcomp(1), ppm(1)


AUTHOR
       Copyright (C) 1991 by Jef Poskanzer.

DOCUMENT SOURCE
       This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master
       documentation is at

              http://netpbm.sourceforge.net/doc/ximtoppm.html

netpbm documentation                        02 April 2000                    Ximtoppm User Manual(1)

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 09:58 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!