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

PDFThumbnailer not working for ppt files which were saved as pdf #13

Open
chaosKP opened this issue Aug 30, 2022 · 4 comments
Open

PDFThumbnailer not working for ppt files which were saved as pdf #13

chaosKP opened this issue Aug 30, 2022 · 4 comments

Comments

@chaosKP
Copy link

chaosKP commented Aug 30, 2022

I tried to create a thumbnail with the PDFThumbnailer of an pdf file which was created by PowerPoint exporting one slide.

I debugged the code and the imagesFitPage methods returned false.
If a changed that result to true (while debugging) the thumbnail was created correctly.

@seanstory
Copy link
Member

@chaosKP can you share the PDF file in question? The imagesFitPage function is attempting to make sure that the image isn't larger than the actual display dimensions, as we've hit OOMEs before when trying to read massive images that are only partially displayed. However, perhaps we need to add a margin for error here.

@chaosKP
Copy link
Author

chaosKP commented Oct 20, 2022

Test.pdf
This is an obfuscated version of the used Pdf but it also doesn't work.

@seanstory
Copy link
Member

Thanks! Taking a look. 👀

@chaosKP
Copy link
Author

chaosKP commented Jul 5, 2023

Soooo, any updates?

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

2 participants