从本地文件加载图像到内存包装对象。
| 2193 | |
| 2194 | // 从本地文件加载图像到内存包装对象。 |
| 2195 | bool LoadImageFromFile(const std::wstring &file_path, ImageHandle &image) { |
| 2196 | return loadImageFromFile(file_path, image); |
| 2197 | } |
| 2198 | |
| 2199 | // 把图像对象保存到本地文件。 |
| 2200 | bool SaveImageToFile(const ImageHandle &image, const std::wstring &file_path) { |