Linux Commands Examples

A great documentation place for Linux commands


convert a MacPaint file into a portable bitmap

see also : pbmtomacp


macptopbm [-extraskip N] [macpfile]

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!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


Reads a MacPaint file as input. Produces a portable bitmap as output.



This flag is to get around a problem with some methods of transferring files from the Mac world to the Unix world. Most of these methods leave the Mac files alone, but a few of them add the "finderinfo" data onto the front of the Unix file. This means an extra 128 bytes to skip over when reading the file. The symptom to watch for is that the resulting PBM file looks shifted to one side. If you get this, try -extraskip 128, and if that still doesn’t look right try another value.

All flags can be abbreviated to their shortest unique prefix.

see also

picttoppm, pbmtomacp , pbm


Copyright (C) 1988 by Jef Poskanzer. The MacPaint-reading code is copyright (c) 1987 by Patrick J. Naughton (naughton[:at:]wind.sun[:dot:]com).

How can this site be more helpful to YOU ?

give  feedback