Linux Commands Examples

A great documentation place for Linux commands

gemtopbm

convert a GEM .img file into a portable anymap


see also : pbmtogem

Synopsis

gemtopnm [-d] [gemfile]


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
            
do
ImageName=`basename $image .img`
/usr/X11R6/bin/gemtopbm $image >${ImageName}.pbm
done
#
exit 0
0
source
            
XWDNAME=`basename $i .img`.xwd
/local/Tools/pbmplus/bin/gemtopbm $i | \
/local/Tools/pbmplus/bin/pnmtoxwd >$XWDNAME
done
0
source
            
MANUALS1 += bmptoppm faxformat gemtopbm jpegtopnm mrf netpbm pamtotiff pamx pgmedge \\\
pgmnorm pgmoil pgmslice pnmarith pnmcut pnmdepth pnmenlarge pnmfile \\\
0
source
            
*.img | *.img.* )
gemtopbm "$file"
;;
*.pcx | *.pcx.* )
pcxtoppm "$file"
0
source
            
brushtopbm "$file"
;;
img )
gemtopbm "$file"
;;
pcx )
pcxtoppm "$file"
0
source
            
xwdtopnm "$file"
;;
brush )
brushtopbm "$file"
;;
img )
gemtopbm "$file"
;;
pcx )

description

Reads a GEM .img file, either the one plane (black/white) or four plane (16 color) varieety, as input. Reads from stdin if input file is omitted. Produces a PBM or PPM file as output, depending on whether the input is one or four plane.

options

-d

Produce output describing the contents of the .img file.


see also

pbmtogem , pnm


author

Copyright (C) 1988 Diomidis D. Spinellis (dds[:at:]cc.ic.ac[:dot:]uk).

How can this site be more helpful to YOU ?


give  feedback