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

Free Support Forum - aspose.com

Looking for you help

Hello there:

Have a question and hope to get your help:

Aspose.word is converted from word to PDF during use, but the converted PDF file is larger. Is there a way to compress the image in word format so that the image takes up less space.

look forward to your reply

Wish you all the best

@xiangliling

By default, Aspose.Words does the image and text compression while saving the PDF. However, you can use the following PdfSaveOptions to reduce the PDF file size.

Document doc = new Document(MyDir + "input.docx");
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.JpegQuality = 50;
pdfSaveOptions.DownsampleOptions.DownsampleImages = true;
pdfSaveOptions.DownsampleOptions.Resolution = 90;
pdfSaveOptions.FontEmbeddingMode = PdfFontEmbeddingMode.EmbedNone;
doc.Save(MyDir + "19.5.pdf");

Moreover, we suggest you please check the members of PdfSaveOptions class.