Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pic2ps(9) [plan9 man page]

PIC2PS(9.1)															       PIC2PS(9.1)

NAME
pic2ps, pic2gif - convert picture files to other formats SYNOPSIS
fb/pic2ps [ -c ] [ -h height ] [ input ] fb/pic2gif [ -i ] [ -l ] [ -b depth ] [ input ] DESCRIPTION
Pic2ps converts its input image (default standard input) into encapsulated PostScript, writing the result to standard output. If the input image is full-color, its luminance is computed first, except under option -c, which produces output suitable for a color PostScript printer. Option -h sets the output image height in inches. The default height is 3", to match the default height of the .BP macro in troff -mpictures. Pic2gif converts its input image (default standard input) into a Compuserv GIF format file, writing the result to standard output. It con- verts only the first channel of the input image, which may yield wrong results -- use the -l flag or quantize(9.1) or some other dithering filter to reduce color images to a single channel. Option -i produces an interlaced output file. Option -b sets the number of bits per pixel in the output file. The default is 8, which is the maximum. Option -l makes pic2gif compute the NTSC luminance of its input. If pic2gif's input contains no color map, it assumes that it is a 256 grey shade monochrome image. SOURCE
/sys/src/fb/pic2ps.c /sys/src/fb/pic2gif.c SEE ALSO
mpictures(6), picfile(9.6), quantize(9.1), PIC2PS(9.1)

Check Out this Related Man Page

PCP(9.1)																  PCP(9.1)

NAME
pcp - copy pictures SYNOPSIS
fb/pcp [ -wx0 y0 x1 y1 ] [ -ox y ] [ -ttype ] [ -cchannels ] [ -Cchannels ] [ -mcolormap ] [ -M ] [ input [ output ] ] DESCRIPTION
Pcp copies the input picture (default standard input) to the output file (default standard output). Options control the attributes and content of the output picture. -w x0 y0 x1 y1 causes only the given window of the input picture to be copied. By default the whole picture is copied. -o x y causes the output picture's WINDOW= attribute to be translated by adding (x,y) to the input window coordinates. -t type sets the TYPE= attribute of the output file. The default is to use the input file's type. -c channels causes only the given channels of the input picture to be copied. The default is to copy all channels. If channels not present in the input picture are specified, they are computed in the ``most plausible'' way. For example, a missing alpha channel is set to 255, and an m channel will be synthesized from rgb channels by computing NTSC luminance. A 0 in channels causes a zero channel to be written. -C channels sets the output CHAN= attribute. Channels must be the same length as the selected channels of the input picture. -m colormap attaches the given color map to the output. -M elides the color map from the output. SOURCE
/sys/src/fb/pcp.c SEE ALSO
picfile(9.6), cmap(9.6) PCP(9.1)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. UNIX for Advanced & Expert Users

What's your most useful shell?

What's your most useful shell? /bin/sh /bin/csh /bin/ksh /bin/tcsh /bin/bash (249 Replies)
Discussion started by: zylwyz
249 Replies