plan9 man page for card

Query: card

OS: plan9

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
glcolormask(3g) - xfree86
pcp(9) - plan9
picfile(9) - plan9
imagecolorexactalpha(3) - php
imagecolorresolvealpha(3) - php
Similar Topics in the Unix Linux Community
Solaris 10 SCSI card question
Copy file to SD card from internal flash.
ifconfig ge0 plumb
Wildcard search in if loop
Wildcard with xdotool