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

Double page for some files #1

Closed
payamomrani opened this issue Jan 19, 2019 · 1 comment
Closed

Double page for some files #1

payamomrani opened this issue Jan 19, 2019 · 1 comment

Comments

@payamomrani
Copy link

hi
thank you for produce this package
when i convert some PDF , two page together be create
for example if PDF has 16 page ,for page 1 create page 1 and last page side by side
how can i fix ?

thanx

@ottosmops
Copy link
Owner

Since this package uses pdftoppm you should check the manual: https://linux.die.net/man/1/pdftoppm

You can override all options (cf. README). If you know the number of pages you should be able to create a thumb of the last page.

After that you could join the results (e.g. Intervention/image#376), if it is that what you want.

I dont think that´s a good solution.

In this case i think this package is better: https://github.com/spatie/pdf-to-image

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