#include <ImgEncoder.h>
|
bool | Save (const char *path, BYTE *pBuf, UINT len, int quality=100) |
|
int | CalcBitmapSize (int w, int h, int ch) |
|
bool | GetSize (const char *path, unsigned int *size) |
|
void | Resize (unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
|
bool | Rotate (double rotate, unsigned char *src, unsigned char *dst, int w, int h, int neww, int newh, int ch) |
|
bool | Flip (FLIP mode, unsigned char *src, unsigned char *dst, int w, int h, int ch) |
|
bool | Crop (unsigned char *src, unsigned char *dst, int w, int h, int ch, int x, int y, int neww, int newh) |
|
Definition at line 29 of file ImgEncoder.h.
◆ CalcBitmapSize()
int oph::ImgEncoder::CalcBitmapSize |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
ch |
|
) |
| |
|
inline |
◆ Crop()
bool oph::ImgEncoder::Crop |
( |
unsigned char * |
src, |
|
|
unsigned char * |
dst, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
ch, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
neww, |
|
|
int |
newh |
|
) |
| |
◆ Flip()
bool oph::ImgEncoder::Flip |
( |
FLIP |
mode, |
|
|
unsigned char * |
src, |
|
|
unsigned char * |
dst, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
ch |
|
) |
| |
◆ getInstance()
static ImgEncoder* oph::ImgEncoder::getInstance |
( |
| ) |
|
|
inlinestatic |
◆ GetSize()
bool oph::ImgEncoder::GetSize |
( |
const char * |
path, |
|
|
unsigned int * |
size |
|
) |
| |
◆ Resize()
void oph::ImgEncoder::Resize |
( |
unsigned char * |
src, |
|
|
unsigned char * |
dst, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
neww, |
|
|
int |
newh, |
|
|
int |
ch |
|
) |
| |
◆ Rotate()
bool oph::ImgEncoder::Rotate |
( |
double |
rotate, |
|
|
unsigned char * |
src, |
|
|
unsigned char * |
dst, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
neww, |
|
|
int |
newh, |
|
|
int |
ch |
|
) |
| |
◆ Save()
bool oph::ImgEncoder::Save |
( |
const char * |
path, |
|
|
BYTE * |
pBuf, |
|
|
UINT |
len, |
|
|
int |
quality = 100 |
|
) |
| |
The documentation for this class was generated from the following file: