Ask Your Question

Converting pptx to pdf issue [closed]

asked 2013-10-11 20:33:02 +0200

uday gravatar image

updated 2015-09-11 12:51:04 +0200

Alex Kemp gravatar image


I am trying to convert the attached test.pptx. ( ) to pdf with libreoffice 4.1.2 using a tool like jodconverter ( ).

Libreoffice is being run in headless mode. And the command i use to convert pptx to pdf is - java -Doffice.home=/opt/libreoffice4.1 -jar jodconverter-core-3.0-beta-4.jar test.pptx converted.pdf

I am finding one major issue. When i open the file test.pptx with libreoffice impress test.pptx it shows the background image in green colour ( ) but the document converted using libreoffice headless shows the background in black colour ( ) . Not sure why this difference is...

Do i need to pass any extra params while converting ? Any suggestion would be of great help.

Thanks, Uday

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-11-12 01:59:08.537718

1 Answer

Sort by » oldest newest most voted

answered 2013-10-17 12:10:19 +0200

uday gravatar image


Just answering this myself as i could figure out. I needed to convert the document to PDF1-A specification rather than pdf (PDF 0). So, passing an option selectPdfVersion '1' solved my issue.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-10-11 20:33:02 +0200

Seen: 3,140 times

Last updated: Oct 17 '13