pnmtorast(1)

pnmtorast1

Convert a ppm into a sun rasterfile

Usage

pnmtorast [-standard|-rle] [pnmfile]

Overview

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.

Options

In addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options ⟨index.html#commonoptions⟩ ), 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.

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

Releases

16 releases since Debian 2.0 (Hamm); the text changed 2 times.

  1. 2.0–11
  2. 12–13
  3. Arch

-rle since Debian 12 (Bookworm); -standard since Debian 12 (Bookworm).

Author

Copyright (C) 1989, 1991 by Jef Poskanzer.

From netpbm 10.86.51-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.