[Poppler-bugs] [Bug 46708] New: File name pattern output by pdftoppm doesn't match documentation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 28 00:50:24 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=46708
Bug #: 46708
Summary: File name pattern output by pdftoppm doesn't match
documentation
Classification: Unclassified
Product: poppler
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: utils
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: alexandre.magaz at udl.cat
pdftoppm's man page says:
Pdftoppm reads the PDF file, PDF-file, and writes one PPM file for each page,
PPM-root-nnnnnn.ppm, where nnnnnn is the page number.
but the length of the page number string (nnnnnn) isn't 6 but variable. This
breaks programs which expect it to have a fixed length.
The change was introduced in the following commit:
http://cgit.freedesktop.org/poppler/poppler/commit/utils/pdftoppm.cc?id=3ba088d8caee3c40c2aba0cd85adcf9195ae88a3
The snprintf format string was changed from "%.*s-%06d.%s" to "%.*s-%0*d.%s".
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list