SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from RedHat Other XITE-3.3-3.i386.rpm

COLOR2ASCII

Section: C Library Functions (3)
Updated: 16 Mar 1998
Index

 

NAME

color2ascii - write a biff band to an ascii data file

 

SYNTAX


 #include <xite/color.h>


 int color2ascii( Color_cell* coltab, int len,
    char* filename, char* type, int hex );

 

DESCRIPTION

color2asciidumps the contents of coltabwith lengthlenas ascii data to the file filename.The format canbe read by mct(1).Give filename "-" or "-1" for writingto stdout.

For information on the output format, see PrintColortable(3).

 

PARAMETERS

len
This is the length of the colortable, i.e. the number ofentries to be printed.

hex
If nonzero, print pixelvalue as hexadecimal numbers, insteadof decimal numbers.

type
This may be one of the following

wTruncate or create file for writing

aAppend. Open for writing at end of file, or create for writing.

 

RETURN VALUE


 0 - ok
 1 - could not open file
 2 - bad 'type' argument, should be "w" or "a"

 

SEE ALSO

color2ascii(1), mct(1), PrintColortable(3), colorquant(1),makepseudo(1)

 

AUTHOR

Svein Bøe

 

ID

$Id: color2ascii.c,v 1.13 1996/11/29 15:14:06 svein Exp $


 

Index

NAME
SYNTAX
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
AUTHOR
ID

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector