gemtopnm - Man Page

convert a GEM .img file into a PNM image

Examples (TL;DR)


gemtopnm [-d] [gemfile]


This program is part of Netpbm(1).

gemtopnm reads a GEM .img file, either the one plane (black/white) or four plane (16 color) varieety, as input and produces a PBM or PPM file as output, depending on whether the input is one or four plane.

The input file is gemfile if you specify that argument, or Standard Input otherwise.  Output is to Standard Output.


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


Produce output describing the contents of the .img file.

See Also

pbmtogem(1), pnm(1)


Copyright (C) 1988 Diomidis D. Spinellis (

Document Source

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

Referenced By


30 April 2000 netpbm documentation