获取图片宽度

int getpicwidth(int picn);
//picn:图片编号
//返回图片的宽度(像素)

示例

int w;
w=getpicwidth(1);   //获取1号图的宽度