logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pnmtorast - convert a PPM into a Sun rasterfile

Author

       Copyright (C) 1989, 1991 by Jef Poskanzer.

Description

       This program is part of Netpbm(1).

       pnmtorastreads a PPM image as input and produces a Sun rasterfile as output.

       Color values in Sun rasterfiles are eight bits wide, so pnmtorast will automatically scale colors to have
       a maxval of 255.  An extra pamdepth step is not necessary.

Document Source

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

              http://netpbm.sourceforge.net/doc/pnmtorast.html

netpbm documentation                             12 January 1991                        PnmtorastUserManual(1)

Name

       pnmtorast - convert a PPM into a Sun rasterfile

Options

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

       All options can be abbreviated to their shortest unique prefix.

       -standard

              Forces the result to be in RT_STANDARD form.

       -rle

              Forces the result to be in RT_BYTE_ENCODED, which is smaller but, well, less standard.

              The default is -rle.

See Also

rasttopnm(1), pnm(1)

Synopsis

pnmtorast [-standard|-rle] [pnmfile]

See Also