Hello,
I am trying to optimize a pdf but as a result I am getting a doc which has black pages.
The Code I am using is
var optimizationOptions = new Aspose.Pdf.Optimization.OptimizationOptions();
optimizationOptions.RemoveUnusedObjects = true;
optimizationOptions.RemoveUnusedStreams = true;
optimizationOptions.AllowReusePageContent = true;
optimizationOptions.LinkDuplcateStreams = true;
optimizationOptions.UnembedFonts = false;
optimizationOptions.ImageCompressionOptions.CompressImages = true;
optimizationOptions.ImageCompressionOptions.ImageQuality = 50;
optimizationOptions.ImageCompressionOptions.ResizeImages = true;
Pdf.OptimizeResources(optimizationOptions);
Pdf.Optimize();optimized.pdf (540.3 KB)
Anthem OH LOA Certified Mail 2-18-2112.pdf (922.5 KB)