diff options
author | Nick White <git@njw.name> | 2021-02-15 17:09:20 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-02-15 17:09:20 +0000 |
commit | 44a027984044a55a8a483268ddf0b841e9f33e83 (patch) | |
tree | c575a43b60757f297e94287390bc06a18e098f3f /internal/pipeline/testdata/good/.hidden.png | |
parent | 11470933e4fd379b4aefa4e2bab33662a72791c2 (diff) |
getsamplepages: Add -prefix option, and use 'best' to get random page numbers
The -prefix option is useful to us.
Previously only a .jpg for page number 100 was retreived, which
failed if the book had fewer (or unusually named) pages, and also
didn't provide a corresponding .hocr at all (bug introduced with
48958d2). Using 'best', which is (effectively) randomly sorted,
provides a guaranteed to exist page, and a random one at that.
Diffstat (limited to 'internal/pipeline/testdata/good/.hidden.png')
0 files changed, 0 insertions, 0 deletions