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

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

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

Problem

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

Solution

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

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


Write a maximum of n planes to the ILBM file and produce a HAM/24bit/direct color file if this number is exceeded:
ppmtoilbm {{[-mp|-maxplanes]}} {{n}} -{{hamif|24if|dcif}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}


Produce a ILBM file with exactly n planes:
ppmtoilbm {{[-fp|-fixplanes]}} {{n}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}


Select the compression method to be used:
ppmtoilbm -{{compress|nocompress|savemem}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}

Code Snippets

Convert a PPM image to an ILBM file

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

Write a maximum of `n` planes to the ILBM file and produce a HAM/24bit/direct color file if this number is exceeded

ppmtoilbm {{[-mp|-maxplanes]}} {{n}} -{{hamif|24if|dcif}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}

Produce a ILBM file with exactly `n` planes

ppmtoilbm {{[-fp|-fixplanes]}} {{n}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}

Select the compression method to be used

ppmtoilbm -{{compress|nocompress|savemem}} {{path/to/file.ppm}} > {{path/to/file.ilbm}}

Context

tldr-pages: common/ppmtoilbm

Revisions (0)

No revisions yet.