Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use leading zeros for appended page numbers in extract_images #83

@willmcclellan

Description

@willmcclellan

When extracting pages as images from a document (extract_images) it would be useful if the appended page numbers had leading zeros so they are ordered automatically in the output directory.

If you have more than 9 pages ordering gets lost:

filename_1
filename_10
filename_11
filename_2
etc…

but with leading zeros:

filename_01
filename_02

Just a small thing that would help with working with the files after extraction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions