ILBMTOPPM(1)
β¨ Ilbmtoppm User Manual β¨
okay bestie, welcome to the ilbmtoppm manual page β it's part of the General Commands Manual series, and it's lowkey one of the cutest little converters in the Netpbm family. sit down, grab a strawberry π, and let's get into it π
πΈ NAME πΈ
ilbmtoppm β convert an ILBM file into a PPM image
π SYNOPSIS π
ilbmtoppm [-ignore<chunkID>] [ -isham | -isnotham | -isehb | -isnotehb |
-isdeep | -isnotdeep ] [-cmaponly] [-adjustcolors] [-transparent color]
[-maskfile filename [-verbose] [ILBMfile]
π¦ DESCRIPTION π¦
This program is part of Netpbm(1). no cap, it's one of those Netpbm girlies π
ilbmtoppm reads an IFF ILBM file as input and produces a PPM image as output. that's the whole arc. that's the plot. π«Ά
Now, the types of ILBM she can handle β she's versatile, she contains multitudes:
- Normal ILBMs with 1-16 planes. π«
- Amiga Extra_Halfbrite (EHB)
- Amiga HAM with 3-16 planes. π₯
- 24 bit.
- Multiplatte (normal or HAM) pictures.
- Color map (BMHD + CMAP chunk only, nPlanes = 0).
- Unofficial direct color. 1-16 planes for each color component.
(yes it really says "Multiplatte" in the source, bestie β we do not fix, we do not edit, we report faithfully π)
π§ the chunks situation π§
ilbmtoppm uses these ILBM chunks: BMHD, CMAP, CAMG (only HAM & EHB flags used), PCHG, BODY unofficial DCOL chunk to identify direct color ILBM.
She ignores these chunks: GRAB, DEST, SPRT, CRNG, CCRT, CLUT, DPPV, DRNG, EPSF.
She ignores, but displays in verbose mode, these: NAME, AUTH, (c), ANNO, DPI. π
And chunks whose type she doesn't even recognize? she just skips them. not her business, not her problem, moving on β¨
π OPTIONS π
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), ilbmtoppm recognizes the following command line options:
-transparent colorβ this is the color that should "show through" in places where the image is transparent. π«₯coloris like the argument of thepnm_parsecolor()library routine .-verboseβ give some information about the ILBM file. spill the tea, girl β-ignore chunkIDβ skip a chunk.chunkIDis the 4-letter IFF chunk identifier of the chunk to be skipped.-isham | -isehbβ treat the input file as a HAM or Extra_Halfbrite picture, even if these flags are not set in theCAMGchunk (or if there is noCAMGchunk). she said "i don't need the CAMG chunk to know what you are" π-maskfile filenameβ this names a file forilbmtoppmto create with the image's transparency mask. The mask file is a PBM image which maps to the input image with white pixels representing transparent pixels in the image and black pixels representing opaque pixels. π
If you don't specify this, or the image does not contain transparency information, ilbmtoppm does not create a mask file.
-cmaponlyβ with this option,ilbmtoppmgenerates a PPM of the ILBM's color map, not the image itself. π¨
ilbmtoppm does the same thing even without -cmaponly if the ILBM is a pure color map stream (it has a bitmap header with an nplanes value of zero or has no BODY chunk.
-adjustcolorsβ if all colors in theCMAPhave a value of less then 16,ilbmtoppmassumes a 4-bit colormap and gives a warning. With this option the colormap is scaled to 8 bits. glow up, bestie β¨
π LIMITATIONS π
The multipalette PCHG BigLineChanges and Huffman decompression code is untested.
okay so like... nobody has tested this part. fr fr. proceed with the awareness that you are the test suite. π
π REFERENCES π
Amiga ROM Kernel Reference Manual - Devices (3rd Ed.) Addison Wesley, ISBN 0-201-56775-X
π SEE ALSO π
ppmtoilbm(1), ppm(1)
siblings! the reverse-direction queens! iykyk π
π AUTHORS π
Copyright (C) 1989 by Jef Poskanzer.
Modified October 1993 by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
π DOCUMENT SOURCE π
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/ilbmtoppm.html
and that's the whole page, bestie!! πβ¨πΈ this one came out of the netpbm documentation universe, dated 12 November 2014, and it's filed under Ilbmtoppm User Manual(1). slay, read responsibly, and go convert something iconic π¦ππ
π¦ where this page comes from
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms