Skip to content

Pick preivew pages based on actual document page count #50

@hholzgra

Description

@hholzgra

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions