summaryrefslogtreecommitdiff
path: root/cmd/getsamplepages
AgeCommit message (Collapse)Author
2021-07-20Cleanup thanks to go vetNick White
2021-07-13gofmtNick White
2021-02-15getsamplepages: Add -prefix option, and use 'best' to get random page numbersNick White
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.
2020-08-24update getsamplepages to just get jpg pagesNick White
2020-08-19Add getsamplepagesNick White