Open
Description
This is a feature request.
As Python indexing starts at 0
, it would be natural to have the option to start the pdf2image.generators.counter_generator
starting at 0
. Currently, it can only start at 1
(except if I missed something).
https://github.com/Belval/pdf2image/blob/master/pdf2image/generators.py#L43
Typically, a simple extra optional argument: index_start
(or similar) could be added and default to the current behavior
Also (and this is where the request idea initially comes from), pymupdf / fitz
starts page index at 0
. Adding this option would allow to get the same indexing for the images generated with pdf2image
and the page numbers generated by pymupdf / fitz
.
Metadata
Assignees
Labels
No labels
Activity