imgdecompress.h

来自「《医学图象的远程传输系统》」· C头文件 代码 · 共 36 行

H
36
字号
/*==========================================================/
/                 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 + =
减小字号Ctrl + -
显示快捷键?