在Aspose PDF for C++(Aspose.PDF.Cpp.22.1)中,我使用如下代码加载tif图片,Save时抛出异常,
我应该怎么解决呢?
代码如下:
auto stream = MakeObject<IO::MemoryStream>();
String strBitmapPath(u"问题文件.tif");
SharedPtr<Drawing::Bitmap> bitmap = MakeObject<Drawing::Bitmap>(strBitmapPath);
bitmap->Save(stream, Drawing::Imaging::ImageFormat::get_Bmp()); **// 这一行抛出异常**
tif文件:问题文件.7z (69.7 KB)