Hello, I have a question, after I use word to pdf, pdf file becomes large, pdf file is 3 times larger than word file。
@ccnaive Could you please attach your source document here for testing? We will check the issue and provide you more information.
thank you,
I already took care of it,
Here’s the before-and-after code:
doc.save(outputStream, SaveFormat.PDF);
Changed into:
PdfSaveOptions options = new PdfSaveOptions();
options.setJpegQuality(10);
doc.save(outputStream, options);
@ccnaive It is perfect that you managed to resolve the problem. Please feel free to ask in case of any issues, we will be glad to assist.
ok,thank you
1 Like