import an image and get its handle
pBITMAPHANDLE image_import( LPCSTR lpcszFile, FILEINFO * pfi = NULL, int * pErrCode = NULL )
handle of this image
EX1
#include <image_utils.h> void image_import_ex1() { string fn = GetOriginPath() + "samples\\Image Processing and Analysis\\scale.jpg"; pBITMAPHANDLE pLbmp = image_import(fn); Image img; img.SetLBmp(pLbmp, false); Worksheet wks("Book1"); wks.SetCell(0, 0, img); }
image_import_to_matrix
image_utils.h