phpman > man > pbmtomacp(1)

Markdown | JSON | MCP    

TLDR: pbmtomacp (tldr-pages)

Convert a PBM image to a MacPaint file.

  • Convert a PBM image to a MACP file
    pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}
  • Do not compress the output file
    pbmtomacp {{-n|-norle}} {{path/to/image.pbm}} > {{path/to/output.macp}}
pbmtomacp(1)                           General Commands Manual                          pbmtomacp(1)



NAME
       pbmtomacp - convert a portable bitmap into a MacPaint file

SYNOPSIS
       pbmtomacp [-l left] [-r right] [-b bottom] [-t top] [pbmfile]

DESCRIPTION
       Reads  a  portable  bitmap  as  input.  If no input-file is given, standard input is assumed.
       Produces a MacPaint file as output.

       The generated file is only the data fork of a picture.  You  will  need  a  program  such  as
       mcvert  to  generate  a Macbinary or a BinHex file that contains the necessary information to
       identify the file as a PNTG file to MacOS.

OPTIONS
       Left, right, bottom & top let you define a square into the pbm file, that must be  converted.
       Default  is  the whole file.  If the file is too large for a MacPaint-file, the bitmap is cut
       to fit from ( left, top ).

BUGS
       The source code contains comments in a language other than English.

SEE ALSO
       ppmtopict(1), macptopbm(1), pbm(5), mcvert(1)

AUTHOR
       Copyright (C) 1988 by Douwe van der Schaaf (...!mcvax!uvapsy!vdschaaf).



                                           31 August 1988                               pbmtomacp(1)

Generated by phpman v4.0 Author: Che Dong Under GNU General Public License
2026-06-15 20:46 @216.73.217.83
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!