Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPT to PDF: Textboxes underneath images appearing on top of image #378

Closed
datermine opened this issue Feb 2, 2017 · 4 comments
Closed

Comments

@datermine
Copy link

I have a process that uses unoconv to convert PowerPoint presentations to PDFs (and then eventually PDFs to images), but quite often I have these sorts of artifacts where slide template textboxes are appearing on top of images that would normally occlude them.

For example:
https://storage.googleapis.com/spork-user-media/prezx-9un783nukr7pevu1ce8c9pb9
https://storage.googleapis.com/spork-user-media/n3logrjnc5aj1zw5rhjafko6r.pngquant.png

Is this a known issue? Is there a way to fix this?

@Aabir1
Copy link

Aabir1 commented Jul 29, 2017

@datermine did you get any solution or any alternate way to do this. I also stuck in similar problem.

@datermine
Copy link
Author

@Aabir1 -- Yup. I switched to using headless LibreOffice.

/usr/bin/soffice --headless --convert-to pdf test.key --outdir .

FYI - It's been giving me trouble with Keynote files though:

https://stackoverflow.com/questions/44618379/headless-soffice-fails-silently/44807712#44807712

@dagwieers
Copy link
Member

@datermine It seems strange that a direct conversion using soffice --headless would work correctly in this case. Could you by any chance have upgraded LibreOffice in the process ? Because this seems like a bugfix in LibreOffice, unoconv really doesn't do anything but call LibreOffice. (This is explained in the documentation)

@datermine
Copy link
Author

If that's the case, then I have no idea how this got solved for me. I made the switch to calling soffice directly a little while ago and don't recall everything I did in the process.

@Aabir1 - perhaps you could let us know if soffice fixed your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants