HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ximtoppm — Convert a XIM file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/ximtoppm.ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandconvertximtoppmclifileimageximppm

Problem

How to use the ximtoppm command: Convert a XIM file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/ximtoppm.html>.

Solution

ximtoppm — Convert a XIM file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/ximtoppm.html>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/ximtoppm

Revisions (0)

No revisions yet.