25 lines
510 B
C
25 lines
510 B
C
|
//
|
||
|
// SaveImage.c
|
||
|
//
|
||
|
// routines to save and compress a graphics file using a MS Office
|
||
|
// graphic export filter.
|
||
|
//
|
||
|
#include "image.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" { /* Assume C declarations for C++ */
|
||
|
#endif /* __cplusplus */
|
||
|
|
||
|
//
|
||
|
// SaveDIBToFile
|
||
|
//
|
||
|
// save an image file using an installed image export filter.
|
||
|
//
|
||
|
BOOL SaveDIBToFile( LPCTSTR szFileName,
|
||
|
REFGUID guidFormatID,
|
||
|
CBitmapObj * pBitmap );
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif /* __cplusplus */
|