摘要:
enum IMAGEFORMAT { JPG, BMP} imageExt;int GetImageFormat(char *ext){ if(!stricmp(ext, "jpg")) imageExt = JPG; else if( !stricmp(ext, "bmp") ) imageE... 阅读全文
摘要:
function imageconverJPG( readdir ,QF)% 图像批量改大小函数% 输入参数:readdir 隿¦改大小的图像懿¨目录(要求只有图像文件,格式无懿°)% 写入图像格式writetype = 'jpg';%质量因子%QF = 80;% 写入图像目录,直接附加在... 阅读全文
摘要:
#ifndef#define _DEBUG 0#endif#ifdef _DEBUG#define trace(x) printf(x);#else#define trace(x) ;#endif 阅读全文