NAME
ras2ps - converts a Sun RasterFile to a PostScript file
SYNOPSIS
ras2ps [ -x xoffset ] [ -y yoffset ] [ -X xscale ] [
-Y yscale ] [ -w width ] [ -h height ]
[ -r rotation ] [ -i ] [ -C ] [ -l ] [ -n ] [ -v ] [ -q
] [ rasterfile | - ] [ psfile ]
DESCRIPTION
ras2ps converts a Sun RasterFile to a PostScript file. If
both filenames are missing, the rasterfile is read from
stdin and the PostScript is written to stdout. If there is
only one filename, then it is interpreted as the rasterfile
and is opened for input. To have a named output PostScript
file and still read the rasterfile from stdin, use a dash
(-) in place of the input filename.
OPTIONS
-x xoffset
Set the amount of space to the left of the image to be
xoffset inches. The default is a quarter inch to keep
the image in the imagable area of the printer.
-y yoffset
Set the amount of space below the image to yoffset
inches. The default is a quarter inch same as above.
-X xscale
Multiply the width of the image by xscale. This is
used to stretch or shrink an image along the X axis.
-Y yscale
Multiply the height of the image by yscale. This is
used to stretch or shrink an image along the Y axis.
-w width
Set the max width in inches.
-h height
Set the max height in inches. The -w and -h options
set the desired width and height of the output image in
inches. Default height and width are the source image
dimensions at 300 dpi. ras2ps will expand or shrink
the image to fit these dimensions, while still preserv-
ing the image scale values. The closest fit within the
boundaries will be used. Note that width and height
arguments do not stretch or shrink the image, but only
set its limits. At least one of width or height is
guaranteed to be satisfied.
-r n Rotate the image by n degrees, counterclockwise. The
origin of rotation is the lower left corner of the
image at the point specified by the -x and -y options.
-i Invert the image. This will reverse black and white on
a monochrome image and is of limited usefulness on
color images.
-C Output 8 and 24 bit images as color PostScript using
the colorimage operator as supported by printers such
as the QMS ColorPS 800.
-l Orient the image in landscape mode, which puts the ori-
gin at the lower right corner of the page and rotates
the image 90 degrees. All arguments follow this new
orientation. The default is Portrait mode.
-n Do not include the PostScript operator 'showpage' in
the output. This is for backward compatibility with
programs which do not override 'showpage' as the EPSF
spec advises.
-v Verbose mode will print information as it processes the
image. (The default is to be silent.)
-q Query (prints list of options)
SEE ALSO
lp(1), 24to8(1)
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |