SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

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

READ_SUNRASTER

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

 

NAME

read_sunraster - read sunraster file to BIFF image

 

SYNTAX


 #include <xite/sunraster.h>
 #include <xite/color.h>


 int read_sunraster( IMAGE* img, Color_tab tab,
    char* filename, int* depth );

 

DESCRIPTION

Read a sunraster-file into a BIFF-image (and colortab).filenameis the name of a sunrasterfile, imgwillreturn a pointer to a new BIFF image and tabwillreturn the colormap. tabmay be NULL.depthwill return the depth of the raster image.

 

RESTRICTION

Accept only standardsun raster.

 

RETURN VALUE


 0 - Ok
 1 - BIFF - error
 2 - Cannot open Sunrasterfile
 3 - Read error
 4 - Write error
 5 - Bad magic number (not a sunrasterfile)
 6 - Bad format (Not standard format)

 

AUTHOR

Otto Milvang


 

Index

NAME
SYNTAX
DESCRIPTION
RESTRICTION
RETURN VALUE
AUTHOR

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