Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pcp(9) [plan9 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)

Check Out this Related 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)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache

Sometimes the webserver doesnīt find a picture or there isīnt any. Then it shows a deufault picture. If i want to have diffrent pictures on diffrent catalogs if a picture doesnīt exist. The thing is that i want diffrent picture if itīs a button picture or if itīs a another picture that doesnīt... (5 Replies)
Discussion started by: henke
5 Replies

2. Shell Programming and Scripting

GUI window

Heres my script. How do I put a picture in it?#util to show picture in window #version 1.0 #-colinok #make window with box for picture use Tk; my $mw = new MainWindow; $scrollbar = $mw -> Scrollbar(); $text = $mw -> Text(-height => 20, -width => 50, -yscrollcommand => ); ... (4 Replies)
Discussion started by: perleo
4 Replies

3. Shell Programming and Scripting

adding order number in the output file

Hello, I have a list of all order number like below: maryu01001 johnm00003 peter02234 catmy66751 For the above, all number must in 5 digits and I need to add one into the number and output a new list like below: maryu01002 johnm00004 peter02235 catmy66752 How can write a... (20 Replies)
Discussion started by: happyv
20 Replies

4. Shell Programming and Scripting

\r characters in the file

hi I copied a file to unix box from windows. When i run this file it throws error on every command written in that file. The reason is that the file contains some \r charecters that came into picture while copying the file. This could be viewed by using od -c command. My question is that... (2 Replies)
Discussion started by: infyanurag
2 Replies

5. Shell Programming and Scripting

Awk concatenation in different lines

Hi All I have the data as id-number 01 name-id x0 input-id x0 output-id x0 name-id x0 input-id x0 output-id x0 name-id x0 input-id x0 output-id x0 id-number 02 name-id x0 input-id x0 output-id x0 name-id x0 input-id x0 output-id x0 name-id x0 input-id x0 output-id x0 . . I... (4 Replies)
Discussion started by: posner
4 Replies

6. Shell Programming and Scripting

Please help. Complicated text file manipulation problem

Let me try my best to give you a picture of what I'm trying to do. Once again I'm sorry for the essay thats coming up. I programmed a rather large library of script functions to deal with input, displaying ANSI block graphics, playing sounds, and refining the terminal and so on. I also designed... (8 Replies)
Discussion started by: tinman47
8 Replies

7. UNIX for Dummies Questions & Answers

shell problem

this picture for print You didn't do the question. Go back. if $1 = 0 but until now it give me this message what i should be do ? http://img717.imageshack.us/img717/6137/eeevb.jpg (2 Replies)
Discussion started by: NeeZaaR
2 Replies

8. Programming

Download http picture using C++

Dear all, I am working on writing the script which can read a file (having the html path for some pictures) and download those picture in the given local directory. Please find my iniatitve here, however I am still not able to figure out the 'download' command. Any help is appreciated. ... (1 Reply)
Discussion started by: emily
1 Replies