pbmtocis - Man Page

convert a PBM image to a CompuServe RLE image


pbmtocis [-i] [-w] [cisfile]


This program is part of Netpbm(1).

pbmtocis reads a PBM image as input and produces a CompuServe RLE image as output.

A CompuServe RLE image can be either 128 x 96 pixels or 256 x 192 pixels. Anything in excess on the right or bottom is cropped.  If width or height is insufficient, padding is added on the right or bottom.  For better control of the size adjustment use pamcut or pnmpad.


In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options ), pbmtocis recognizes the following command line options:


Inverse: Reverse the mapping of foreground/background to black/white.


If the input image is smaller than the fixed size of the output image, pad with white pixels rather than black.

See Also

cistopbm(1), pamcut(1), pnmpad(1), pbm(1) CompuServe RLE file format


pbmtocis was new in Netpbm 10.48 (September 2009).


Copyright (C) 2009 John Elliot <jce@seasip.demon.co.uk>

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The master documentation is at


Referenced By


13 August 2020 netpbm documentation