Linux Commands Examples

A great documentation place for Linux commands

ilbmtoppm

convert an ILBM file into a portable pixmap


see also : ppmtoilbm

Synopsis

ilbmtoppm [-verbose] [-ignore<chunkID>] [-isham|-isehb] [-adjustcolors] [ILBMfile]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
tifftopnm "$file"
;;
*IFF*ILBM* )
ilbmtoppm "$file"
;;
*Lisp* )
lispmtopgm "$file"
*.iff | *.iff.* | *.ilbm | *.ilbm.* )
ilbmtoppm "$file"
;;
*.lispm | *.lispm.* )
lispmtopgm "$file"
0
source
            
ilbm )
ilbmtoppm "$file"
;;
lispm )
lispmtopgm "$file"
;;
pcx )
0
source
            
tifftopnm "$file"
;;
ilbm )
ilbmtoppm "$file"
;;
lispm )
lispmtopgm "$file"

description

Reads an IFF ILBM file as input. Produces a portable pixmap as output. Supported ILBM types are:
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.

Chunks used:

BMHD, CMAP, CAMG (only HAM & EHB flags used), PCHG, BODY unofficial DCOL chunk to identify direct color ILBM

Chunks ignored:

GRAB, DEST, SPRT, CRNG, CCRT, CLUT, DPPV, DRNG, EPSF

Other chunks (ignored but displayed in verbose mode):

NAME, AUTH, (c), ANNO, DPI

Unknown chunks are skipped.

options

-verbose

Give some information about the ILBM file.

-ignore <chunkID>

Skip a chunk. <chunkID> is 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 or not set in the CAMG chunk (or if there is no CAMG chunk).

-adjustcolors

If all colors in the CMAP have a value of less then 16, ilbmtoppm assumes a 4-bit colormap and gives a warning. With this option the colormap is scaled to 8 bits.

references

Amiga ROM Kernel Reference Manual - Devices (3rd Ed.)
Addison Wesley, ISBN 0-201-56775-X


bugs

The multipalette PCHG BigLineChanges and Huffman decompression code is untested.


see also

ppm, ppmtoilbm


authors

Copyright (C) 1989 by Jef Poskanzer.
Modified October 1993 by Ingo Wilken (Ingo.Wilken[:at:]informatik[:dot:]uni-oldenburg.de)

How can this site be more helpful to YOU ?


give  feedback