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

ilbmtoppm — Convert an ILBM file to a PPM image. More information: <https://netpbm.sourceforge.net/doc/ilbmtoppm

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

Problem

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

Solution

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

Convert an ILBM file to a PPM image:
ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}


Use the specified color to "show through" where the image is transparent:
ilbmtoppm {{[-t|-transparent]}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}


Ignore the chunk with the specified chunk ID:
ilbmtoppm {{[-ig|-ignore]}} {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}


Store the input's transparency information to the specified PBM file:
ilbmtoppm {{[-m|-maskfile]}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}

Code Snippets

Convert an ILBM file to a PPM image

ilbmtoppm {{path/to/file.ilbm}} > {{path/to/file.ppm}}

Use the specified color to "show through" where the image is transparent

ilbmtoppm {{[-t|-transparent]}} {{color}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}

Ignore the chunk with the specified chunk ID

ilbmtoppm {{[-ig|-ignore]}} {{chunkID}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}

Store the input's transparency information to the specified PBM file

ilbmtoppm {{[-m|-maskfile]}} {{path/to/maskfile.pbm}} {{path/to/file.ilbm}} > {{path/to/file.ppm}}

Context

tldr-pages: common/ilbmtoppm

Revisions (0)

No revisions yet.