Tachyon (current)  Current Main Branch
Functions
pngfile.h File Reference

Go to the source code of this file.

Functions

int readpng (const char *name, int *xres, int *yres, unsigned char **imgdata)
 
int writepng (const char *name, int xres, int yres, unsigned char *imgdata)
 
int writepng_alpha (const char *name, int xres, int yres, unsigned char *imgdata)
 

Function Documentation

◆ readpng()

int readpng ( const char *  name,
int *  xres,
int *  yres,
unsigned char **  imgdata 
)

Definition at line 30 of file pngfile.c.

References IMAGEUNSUP.

Referenced by readimage().

◆ writepng()

int writepng ( const char *  name,
int  xres,
int  yres,
unsigned char *  imgdata 
)

Definition at line 34 of file pngfile.c.

References IMAGEUNSUP.

Referenced by writeimage().

◆ writepng_alpha()

int writepng_alpha ( const char *  name,
int  xres,
int  yres,
unsigned char *  imgdata 
)