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->set_LinkDuplcateStreams(true);
options->set_RemoveUnusedObjects(true);
options->set_RemoveUnusedStreams(true);
//options->set_AllowReusePageContent(true);
//options->set_UnembedFonts(false);
options->set_CompressImages(true);
options->set_ImageQuality(80);
//options->set_ImageEncoding(Aspose::Pdf::Optimization::ImageEncoding::Jpeg);

// options->get_ImageCompressionOptions()->set_CompressImages(true);
//options->get_ImageCompressionOptions()->set_ImageQuality(98);
doc->OptimizeResources(options);
//doc->Optimize();
doc->Save(u"F:\Users\zhuying\Desktop\compressouttest\testimgpdf.pdf");
//doc->FreeMemory();
//doc->Dispose();
}

All image objects are gone.

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

@kngstr,

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.

@Adnan.Ahmad

Thanks.

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?

@kngstr,

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.

@kngstr,

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.

@Adnan.Ahmad

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