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

Pick preivew pages based on actual document page count #50

Open
hholzgra opened this issue Oct 24, 2022 · 0 comments
Open

Pick preivew pages based on actual document page count #50

hholzgra opened this issue Oct 24, 2022 · 0 comments

Comments

@hholzgra
Copy link
Owner

Right now the multi-page preview consists of four pages from the multi-page test results:

  • the title page (1st page)
  • the overview page (3rd page)
  • what is assumed to be a detail map page (5th page)
  • what is assumed to be an index page (10th page)

The hard coded 5th and 10th page assumptions work out for the default "Bielefeld" test area, but not in general

Using 4th page as detail preview, and last minus one page for index preview, unless the PDF is very short, looks like a better default choice ...

Requires that we install either pdfinfo or exiftool to determine PDF page size first ...

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

1 participant