Bug 28789 - pdftoppm padding of filenames
Summary: pdftoppm padding of filenames
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 03:49 UTC by Jamey Greenwood
Modified: 2010-07-15 02:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jamey Greenwood 2010-06-28 03:49:01 UTC
This utility pads filenames in a conventional manner, like so:

page-1.ppm, page-2.ppm, page-3.ppm, ... page-9.ppm
page-01.ppm, page-02.ppm, page-03.ppm, ... page-99.ppm
page-001.ppm, page-002.ppm, page-003.ppm, ... page-100.ppm

However, when the file produces *exactly* 100 files, pdftoppm is inconsistent and names outputted files like this:

page-01.ppm, page-02.ppm, page-03.ppm, ... page-99.ppm, page-100.ppm

This means that page-100.ppm becomes ordered before page-10.ppm in the command line and when used in other places.
Comment 1 Albert Astals Cid 2010-07-15 02:53:29 UTC
Fixed, thanks for the report


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.