| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Namespaces | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/libjpeg/TeLibJpegWrapper.cpp File Reference
`#include <stdio.h>`
`#include "jmemdstsrc.h"`
`#include <string>`

## Namespaces

namespace | Jpeg

| A wrapper around the libjpeg provinding higher level C++ functions.

## Functions

bool | Jpeg::ReadFileParams (const string &fileName, int &width, int &height, int &nChannels)
bool | Jpeg::DecompressFile (const string &fileName, unsigned char *dstBuffer, int &width, int &height, int &nChannels)
bool | Jpeg::DecompressBuffer (unsigned char *srcBuffer, int size, unsigned char *dstBuffer, int &width, int &height, int &bpp)
bool | Jpeg::CompressToFile (unsigned char *buffer, int width, int height, int bpp, const string &fileName, int quality=75)
bool | Jpeg::CompressToBuffer (unsigned char *srcBuffer, int width, int height, int bpp, unsigned char *dstBuffer, int &len, int quality)

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines