simage  1.8.3
Coin3D texture image library
Loading...
Searching...
No Matches
simage_png.h File Reference
#include <config.h>

Go to the source code of this file.

Functions

int simage_png_error (char *buffer, int bufferlen)
 
int simage_png_identify (const char *filename, const unsigned char *header, int headerlen)
 
unsigned char * simage_png_load (const char *filename, int *width, int *height, int *numComponents)
 
int simage_png_save (const char *filename, const unsigned char *bytes, int width, int height, int numcomponents)
 

Function Documentation

◆ simage_png_error()

int simage_png_error ( char * buffer,
int bufferlen )

◆ simage_png_identify()

int simage_png_identify ( const char * filename,
const unsigned char * header,
int headerlen )

◆ simage_png_load()

unsigned char * simage_png_load ( const char * filename,
int * width,
int * height,
int * numComponents )

◆ simage_png_save()

int simage_png_save ( const char * filename,
const unsigned char * bytes,
int width,
int height,
int numcomponents )