Bug 28789

Summary: pdftoppm padding of filenames
Product: poppler Reporter: Jamey Greenwood <freedesktop>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.