怎样读取各种格式的图像 c++或者c#或者c都可以
2010-06-18
展开全部
typedef int (WINAPI ICEPUB_IMGTOBMP)(char *strImgFilename,char *strBmpFilename,int huiFlag);
ICEPUB_IMGTOBMP *icePub_imgToBmp = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_imgToBmp = (ICEPUB_IMGTOBMP *)GetProcAddress(hDLLDrv, "icePub_imgToBmp");
}
icePub_imgToBmp("a.png","a.bmp",0);
icePub_imgToBmp("b.jpg","b.bmp",0);
icePub_imgToBmp("c.gif","c.bmp",0);
ICEPUB_IMGTOBMP *icePub_imgToBmp = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_imgToBmp = (ICEPUB_IMGTOBMP *)GetProcAddress(hDLLDrv, "icePub_imgToBmp");
}
icePub_imgToBmp("a.png","a.bmp",0);
icePub_imgToBmp("b.jpg","b.bmp",0);
icePub_imgToBmp("c.gif","c.bmp",0);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询