Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://coin3d.github.io
https://www.kongsberg.com/en/kogt/
simage_rgb.h File Reference
#include <config.h>

Go to the source code of this file.

Functions

unsigned char * simage_rgb_load (const char *filename, int *width, int *height, int *numcomponents)
 
int simage_rgb_save (const char *filename, const unsigned char *bytes, int width, int height, int numcomponents)
 
int simage_rgb_identify (const char *filename, const unsigned char *header, int headerlen)
 
int simage_rgb_error (char *buffer, int bufferlen)
 
void * simage_rgb_open (const char *filename, int *width, int *height, int *numcomponents)
 
void simage_rgb_close (void *opendata)
 
int simage_rgb_read_line (void *opendata, int y, unsigned char *buf)
 

Function Documentation

◆ simage_rgb_load()

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

◆ simage_rgb_save()

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

◆ simage_rgb_identify()

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

◆ simage_rgb_error()

int simage_rgb_error ( char *  buffer,
int  bufferlen 
)

◆ simage_rgb_open()

void* simage_rgb_open ( const char *  filename,
int *  width,
int *  height,
int *  numcomponents 
)

◆ simage_rgb_close()

void simage_rgb_close ( void *  opendata)

◆ simage_rgb_read_line()

int simage_rgb_read_line ( void *  opendata,
int  y,
unsigned char *  buf 
)