LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ilbmtoppm

Convert an IFF ILBM file into a PPM image

TLDR

Convert an ILBM file to PPM
$ ilbmtoppm [file.ilbm] > [output.ppm]
copy
Convert from stdin
$ cat [file.ilbm] | ilbmtoppm > [output.ppm]
copy
Convert only the color map, not the image
$ ilbmtoppm -cmaponly [file.ilbm] > [output.ppm]
copy
Convert with verbose output
$ ilbmtoppm -verbose [file.ilbm] > [output.ppm]
copy
Force interpretation as HAM format
$ ilbmtoppm -isham [file.ilbm] > [output.ppm]
copy

SYNOPSIS

ilbmtoppm [options] [ilbmfile]

DESCRIPTION

ilbmtoppm converts an IFF ILBM (Interleaved Bitmap) file to PPM (Portable Pixmap) format. ILBM was the standard image format on Amiga computers.The program handles normal ILBMs with 1-16 planes, Amiga Extra_Halfbrite (EHB), Amiga HAM with 3-16 planes, Multipalette pictures (normal or HAM), color map only images, and unofficial direct color formats. It is part of the Netpbm package of graphics manipulation tools.

PARAMETERS

-verbose

Display information about the ILBM file during conversion.
-ignore chunkID
Skip the specified 4-letter IFF chunk during processing.
-isham
Treat the input as a HAM (Hold-And-Modify) picture, even if the CAMG chunk does not indicate this.
-isnotham
Do not treat the input as HAM, even if the CAMG chunk indicates it.
-isehb
Treat the input as Extra_Halfbrite (EHB), even if not indicated in the CAMG chunk.
-isnotehb
Do not treat the input as EHB.
-isdeep
Treat the input as a deep (direct color) image.
-isnotdeep
Do not treat the input as a deep image.
-cmaponly
Output a PPM of the color map only, not the image itself.
-adjustcolors
Scale the color map to 8 bits per channel.
-transparent color
Set the transparency color.
-maskfile filename
Write the transparency mask to the specified PBM file.

CAVEATS

Some ILBM files use non-standard or unofficial extensions that may not be correctly auto-detected. Use the -isham, -isehb, or -isdeep flags to force the correct interpretation when auto-detection fails.

SEE ALSO

ppmtoilbm(1), netpbm(1)

Copied to clipboard
Kai