?? imgcompress.h
字號:
/*==========================================================/
/ Image Compress Library /
/===========================================================/
/ This library do image compress, call ICInit() before /
/call any other functions, and call ICFree() when u finished/
/use this library. ICCompress() will compress an bitmap /
/image to jpeg image. /
/===========================================================/
/ tony /
/ 2002.05.24 /
/==========================================================*/
#include <Ijl.h>
//Initialize the IJL library, allocate memory.
//2002.05.27
BOOL ICInit(const int Channel,JPEG_CORE_PROPERTIES* pjcprops);
//Finalize the IJL library, free the memory.
//2002.05.27
BOOL ICRelease(const int Channel,JPEG_CORE_PROPERTIES* pjcprops);
//Compress the bmp data to the jpeg data.
// Channel - compress the image for which channel, it will use different JPEG_CORE_PROPERTIES.
// pBmp - a whole bitmap file which was read from a 24 bit bitmap file.
// pJpg - the pointer to an assigned memory which will hold the compressed jpeg file,
//it's size will be MAX_JPEG_SIZE.
// JpegSize - return the size of actural jpeg buffer.
//2002.05.27
BOOL ICCompress(const int Channel,JPEG_CORE_PROPERTIES* pjcprops,BYTE* pBmp,BYTE** pJpg,int* JpegSize,BYTE Quality);
//Return the last happened error's description
// Channel - return the error code for which channel.
//2002.05.24
LPCTSTR ICGetLastError(const int Channel);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -