Adding page digits to filenames produced using PDF2Image

4 views
Skip to first unread message

Support

unread,
Nov 30, 2010, 7:13:14 PM11/30/10
to PDF2Image
Q: I have a question regarding the PDF2IMAGE software. I’m currently
testing PDFTron PDF2Image CLI app with our current pdf spec software
to make .jpg’s of our in house pdf files so they can be used and
viewed securely by our overseas vendors. The issue I’m having is
regarding sorting of the files once their created. Normally, we make
our page number three digits, 000 and use those three digits to sort.
When a 15 page doc is converted to images, the program adds _1, _2, _3
etc to the file name. When it hits 10, I can’t successfully sort them
since the sort becomes two characters and not one. Is there a way to
add a “0” to the page number of everything < 9 when naming the image
file? I’m currently using the command line version. Let me know at
your earliest convenience.

------------------
A:
Did you try suing try using '--digits' parameter?
For example: pdf2image my.pdf -f jpg --digits 3
Reply all
Reply to author
Forward
0 new messages