CFileImageJPG.cpp File Reference
#include "files/CFileImageJPG.h"
#include <sstream>
#include <fstream>
#include <streambuf>
#include <setjmp.h>
#include "jpeglib.h"

Namespaces

 chai3d
 

Functions

bool chai3d::cLoadFileJPG (cImage *a_image, const std::string &a_filename)
 This function loads a JPG image file. More...
 
bool chai3d::cLoadJPG (cImage *a_image, const unsigned char *a_buffer, unsigned int a_len)
 This function loads a PNG image buffer. More...
 
bool chai3d::cSaveFileJPG (cImage *a_image, const std::string &a_filename)
 This function saves a JPG image file. More...
 
bool chai3d::cSaveJPG (cImage *a_image, unsigned char **a_buffer, unsigned int *a_len)
 This function saves a JPG image buffer. More...