We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Pdf for C++ image disappered

Version: Asopse.Pdf for C++ 20.2
Sample code:

void testPdfCompress() {
auto doc = MakeObjectAspose::Pdf::Document(u"F:\Users\zhuying\Desktop\test\将视频内容提炼成为样本.pdf");
auto options = MakeObjectAspose::Pdf::Optimization::OptimizationOptions();


// options->get_ImageCompressionOptions()->set_CompressImages(true);

All image objects are gone.

Here is the test file.
aspose.pdf.err3.zip (2.0 MB)


Thanks for sharing the details.

I have tested the scenario and and I have logged investigation ticket with ID as PDFCPP-1208 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.



I tested the application of the other company which is using Aspose.Pdf for .Net.
It works fine.
Most importantly, this is not the first time which image disappered.
Does C++ library lack of something? Or just too many bugs?


I like to inform that sometimes issues are document specific and we release new version every month to improve product quality. Also please share complete environment details with us.


I like to inform that issue has been resolved. Can you please check on your end and share feedback with us if there is still an issue.


Thanks. It’s OK. Worked fine.
I’ll test more files.