TTElib
Twitchy Thumbs Entertainment library
Namespaces | Macros | Functions
image_jpg.h File Reference

Namespaces

 TTE
 
 TTE::Image
 
 TTE::Image::JPG
 

Macros

#define _TTE_IMAGE_JPG_H_   _TTE_IMAGE_JPG_H_
 

Functions

bool TTE::Image::JPG::Write (const char *filepath, const unsigned char *image, int width, int height, int quality)
 
bool TTE::Image::JPG::Write (FILE *fp, const unsigned char *image, int width, int height, int quality)
 
size_t TTE::Image::JPG::Write (unsigned char *fileBuffer, size_t maxFileSize, const unsigned char *image, int width, int height, int maxQuality=100, int *chosenQuality=NULL, int *numIterations=NULL)
 
bool TTE::Image::JPG::GetInfo (const char *filepath, int *width, int *height, int *bitdepth=NULL)
 
bool TTE::Image::JPG::GetInfo (FILE *fp, int *width, int *height, int *bitdepth=NULL)
 
bool TTE::Image::JPG::GetInfo (const void *buffer, size_t bufferSize, int *width, int *height, int *bitdepth=NULL)
 
bool TTE::Image::JPG::Read (const char *filepath, unsigned char *image, int *width=NULL, int *height=NULL)
 
bool TTE::Image::JPG::Read (FILE *fp, unsigned char *image, int *width=NULL, int *height=NULL)
 
bool TTE::Image::JPG::Read (const void *buffer, size_t bufferSize, unsigned char *image, int *width=NULL, int *height=NULL)
 

Macro Definition Documentation

#define _TTE_IMAGE_JPG_H_   _TTE_IMAGE_JPG_H_