📄 imgdecompress.h
字号:
/*==========================================================/
/ Image Decompress Library /
/===========================================================/
/ This library do image decompress, call IDInit() before /
/call any other functions, and call IDFree() when u finished/
/use this library. IDDecompress() will decompress an jpeg /
/image to bitmap image. /
/===========================================================/
/ tony /
/ 2002.05.24 /
/==========================================================*/
#include <Ijl.h>
//Initialize the IJL library, allocate memory.
//2002.05.27
BOOL IDInit(JPEG_CORE_PROPERTIES* pjcprops);
//Finalize the IJL library, free the memory.
//2002.05.27
BOOL IDRelease(JPEG_CORE_PROPERTIES* pjcprops);
//Uncompress the Jpeg into dib data,.
// JpegBuffer - the buffer of an jpeg image.
// JpegSize - the size of JpegBuffer.
// pDib - the pointer to an assigned memory which will hole the decompressed jpeg file,
//it's size will be MAX_BMP_SIZE.
// nWidth - return the image's width.
// nHeight - return the image's height.
//2002.05.14
BOOL IDDecompress(JPEG_CORE_PROPERTIES* pjcprops,BYTE* JpegBuffer,int JpegSize,BYTE** pDib,DWORD* nWidth,DWORD* nHeight);
//Return the last happened error's description
//2002.05.17
LPCTSTR IDGetLastError();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -