// 获致图像的大小 int CCImageDialog::GetImageSize(CSize& size, CString filename) { CImage image; image.Load(filename); int width = image.GetWidth(); int hight = image.GetHeight(); size.cx = width; size.cy = hight; return 0; }
原来可以如此简单
时间: 2024-10-06 00:22:23