ilbmtoppm
Convert ILBM image files to PPM
TLDR
Convert an ILBM file to a PPM image
Use the specified color to "show through" where the image is transparent
Ignore the chunk with the specified chunk ID
Store the input's transparency information to the specified PBM file
SYNOPSIS
ilbmtoppm [-verbose] [ilbmfile]
PARAMETERS
-verbose
Print progress messages (image count, modes) to stderr
DESCRIPTION
ilbmtoppm is a utility from the Netpbm graphics toolkit that converts ILBM (InterLeaved BitMap) files—originally from Amiga computers—into PPM (Portable Pixmap) images. ILBM is an IFF-based format supporting planar pixel storage, multiple bit depths, and special modes like HAM (Hold-And-Modify, up to 4096 colors on 12-bit hardware), HAM6, and EHB (Extra Half-Brite, 64 colors with halftone effects).
The command reads an ILBM file (or stdin if unspecified) and outputs PPM to stdout. It handles multi-image files by producing one PPM per image, decompresses packbits compression, and preserves cycle modes, transparency, and LUTs where supported. This enables seamless integration with other Netpbm tools for processing legacy Amiga artwork, animations, or demos.
Common use cases include batch conversion of Amiga disks, preparing graphics for modern editors, or archiving. Limitations apply to rare ILBM extensions, but core features cover most files from 1985-1990s software like Deluxe Paint.
CAVEATS
Supports common ILBM variants only; rare modes/extensions may fail. Always outputs to stdout (redirect for files). Multi-image files produce sequential PPMs without separation.
INPUT/OUTPUT NOTES
Omit ilbmfile or use - for stdin. Output always PPM to stdout: ilbmtoppm foo.ilbm > foo.ppm.
HAM/EHB HANDLING
Expands HAM to full RGB; EHB simulates halftones accurately in PPM.
HISTORY
Added to Netpbm in early 1990s by pioneers like Jef Poskanzer; evolved with Amiga emulation boom for converting IFF/ILBM from floppy archives.
SEE ALSO
showilbm(1), lstilbm(1), ppm(5)


