Controlling PDF size

19 views
Skip to first unread message

vivek tiwari

unread,
Jul 22, 2020, 2:56:04 AM7/22/20
to documents4j
Hi,

Is it possible to control the size of PDFs converted from word documents?

When a PDF is generated by manually saving a word document as pdf, there are option to reduce size such as turning on compression,  options related to conforming to web content accessibility etc. Can we pass any such parameters when documents4j API makes a call to MS Word instance to make the conversion? 

Many thanks
Vivek

Rafael Winterhalter

unread,
Jul 22, 2020, 3:46:12 PM7/22/20
to vivek tiwari, documents4j
It's not possible by default but you can supply your own conversion script. (Check the code for the system property, in the abstract converter.)

You'd need to find out how to ibstruct word to do this via VBS. 

--
You received this message because you are subscribed to the Google Groups "documents4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to documents4j...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/documents4j/3796a231-9a89-4dd0-bd68-f59f8c083a74n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages