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

Free Support Forum - aspose.com

How to Reduce Digitally Signed Pdf file, following is my Code

Aspose.Pdf.License license = new Aspose.Pdf.License();

                Aspose.Pdf.Document doc = new Aspose.Pdf.Document(file.FullName);
                var optimizationOptions = new Aspose.Pdf.Optimization.OptimizationOptions();
                optimizationOptions.RemoveUnusedObjects = true;
                optimizationOptions.RemoveUnusedStreams = true;
                optimizationOptions.ImageCompressionOptions.CompressImages = true;
                optimizationOptions.ImageCompressionOptions.ImageQuality = 32;
                optimizationOptions.ImageCompressionOptions.ResizeImages = true;
                optimizationOptions.ImageCompressionOptions.MaxResolution = 190;
                optimizationOptions.ImageCompressionOptions.Version = Aspose.Pdf.Optimization.ImageCompressionVersion.Fast;
                doc.OptimizeResources(optimizationOptions);
             
                doc.Save(Path.Combine(dirCompressedImages, file.Name));

@appl

Could you please ZIP and attach your input, problematic output, and expected output PDF files here for testing? We will investigate the issue and provide you more information on it.