Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
simage_jpeg.h File Reference
#include <config.h>

Go to the source code of this file.

Functions

unsigned char * simage_jpeg_load (const char *filename, int *width, int *height, int *numcomponents)
 
int simage_jpeg_save (const char *filename, const unsigned char *bytes, int width, int height, int numcomponents)
 
int simage_jpeg_identify (const char *filename, const unsigned char *header, int headerlen)
 
int simage_jpeg_error (char *textbuffer, int buffersize)
 

Function Documentation

◆ simage_jpeg_load()

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

◆ simage_jpeg_save()

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

◆ simage_jpeg_identify()

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

◆ simage_jpeg_error()

int simage_jpeg_error ( char *  textbuffer,
int  buffersize 
)