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

Free Support Forum - aspose.com

Image Compression Options for PDF?

My project requires that I take a list of documents (Word, Pdf, tiff, jpg, png, etc) and save them all to a single PDF.
the Aspose.Imaging.
The recent addition of
Aspose.Imaging.ImageOptions.PdfImageCompressionOptions.Ccitt4
has made a huge difference.
When I save a tiff to PDF using the above option I get a PDF almost the same size as the tiff (where it was huge before that option was available).
Apose.Imaging.TiffImage.Save(stream, pdfOption);

However, if I open that generate PDF document in Apose.Pdf.Document() and then save it, the file is double the size. Still much better than before, but I’d like to be able to keep it small.

Is there something I can do to keep Aspose.Pdf.Document from doubling the size of the PDF created by Aspose.Imaging.TifImage?

To put this in context, my project requires that I take a list of documents (pdf, word, tiff, jpg, png, etc) and combine them into a single PDF.

@mcrose

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input TIFF file.
  • Please attach the output PDF file that shows the undesired behavior.
  • Please create a standalone console application (source code that uses Apose.PDF APIs) and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.