Feature request: show progress in pdftoppm
It would be very useful to wrapper libraries if there was a -progress
option in pdftoppm
that would print to STDOUT how many pages were already generated, and how many are left to go.
My suggestion is to add support for a -progress
flag that if present would output:
- the current page
- the last page that will be generated (as it may have been trimmed during option's parsing)
- the path to the written file
$ utils/pdftoppm -f 20 -l 25 -png -progress ~/Downloads/dicionario.pdf ~/Downloads/dicionario/p
20 25 /home/diogo/Downloads/dicionario/p-20.png
21 25 /home/diogo/Downloads/dicionario/p-21.png
22 25 /home/diogo/Downloads/dicionario/p-22.png
23 25 /home/diogo/Downloads/dicionario/p-23.png
24 25 /home/diogo/Downloads/dicionario/p-24.png
25 25 /home/diogo/Downloads/dicionario/p-25.png
I can create a merge request if there's interest in this feature.