CARD(9.1) CARD(9.1)
NAME
card, ramp - create simple color fields
SYNOPSIS
fb/card [ -crgba ] [ -wx0 y0 x1 y1 ] red [ green blue ] [ alpha ]
fb/ramp [ -v ] [ -wx0 y0 x1 y1 ] [ [ leftcolor ] rightcolor ]
DESCRIPTION
Card writes a constant (all pixels equal) picture on standard output. The red, green blue and alpha arguments are numbers between 0 and
255. Green and blue default equal to red. Alpha defaults to 255. Option -c specifies the CHAN= attribute of the picture file. The
default is CHAN=m, CHAN=ma, CHAN=rgb, or CHAN=rgba depending on which of red, green blue and alpha are specified.
Ramp creates a picture file whose pixel values range from leftcolor to rightcolor across each scan line, writing on standard output. Left-
color defaults to 0; rightcolor defaults to 255. If three arguments are given for leftcolor and rightcolor the output will have CHAN=rgb.
Otherwise, it will have CHAN=m.
Option -v causes ramp to make a vertical ramp (leftcolor at the top, rightcolor at the bottom).
For both commands, option -w specifies the size of the picture. The default gives WINDOW=0 0 1280 1024.
SOURCE
/sys/src/fb/card.c
/sys/src/fb/ramp.c
SEE ALSO
picfile(9.6)
CARD(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)
what will the cmd below do?
ls *.3
1 members mentions that to seek all permutations and combinations of the mp3 extension ill have to use curly braces, {} and not, .
what then will do? (13 Replies)
Hello
i am trying to use the wildcards with the if statement but it is displaying the error like this one
if * | ** | * ]
Any body can help me to for using the wild card option in the if case but i have used this code and working well with the case statement to enter the name without the... (14 Replies)
Hello
I have this script:
#!/bin/ksh
INPUTFILE=$1
TEMPFILE=$INPUTFILE.$$
OUTPUTFILE=$INPUTFILE.new
# nr of arguments has to be 1
if
then
echo "\nUsage: $0 inputfile\n"
return 1
fi
# inputfile must exist and be readable
if
then (13 Replies)
i have a file with a : separated sections
ABC::2110.49:2110.49:31034050545::+DEF:FPT:2:N::::1:42.99:0.00:2008-07-11:CN:4658582030164342::1:N:afram:N:AI:00220600:S3FA'
XYZ:31034050694:3:::TFY:1:TL1::D:N:42.99:P:9:S:1:18.21:Y:0.00'
JKI:::OC::D:N:2.00::::2::Y::::::2008-07-11'
here... (12 Replies)
I have 2 solaris boxes and trying to connect to D1000 to do clustering. I put the U cable to see the disks from both side, but I can't see any of the disks when I use format command. How can I verify that differential card is installed and configured correctly? Thanks in advance. (12 Replies)
Hi,
I'd get fields like
unix_linux_form_yyyyddmmhhmi.file.txt
shell_programming_and_scripting.txt
so on...
and want them as below
unix_linux_form
shell_programming_and
I could remove everything after a '.' as below
echo $field | sed 's/\..*//'
but how to remove... (14 Replies)
Hi,
At first I have to say that I know nothing about Linux :(
But I am looking for solution how to copy one file from internal Lowrnace HDS flash memory.
Lowrance HDS is Linux based device.
Here is the link for firmware update files for this unit.
At the end of main firmware file there... (62 Replies)
Hello Folks, can anyone please help me with this ?! :wall:
I'm using Solaris 10 with Sun V880 which has two Networks Interfaces, a Fiber (ge0) and a cooper (eri0).
The eri0 is working great but when I try to plumb the ge0 interface ...
# ifconfig ge0 plumb
ifconfig: cannot open link... (18 Replies)
Hello:
I have a very basic question. I'd like to select all files except for one file. For example, say I want to move all of the files in my current directory to a subdirectory called archive, I would use mv ./* archive/ But what if I want to move all files except for README.txt? Is there an... (19 Replies)
Practice folder contains many files and im interested in extracting file which starts with abc* ghi* xyz* . I need to do variety of operations for different files. if file starts with xyz* then i need to move to some destination otherwise some other destination. I am not able to make wildcard... (15 Replies)
I've been having problems lately trying to do pattern matching in C while implementing wildcards. Take for instance the following code:
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
#include <string.h> ... (14 Replies)
The window id for the particular popup window is different each time, so this scripts often does not work.
Is there a way I could use a wildcard ?
Ex. xdotool key --window 1677*.* alt+F4
or go through all the relevant window IDs and filter what I need and discard the rest.
This... (15 Replies)