Can I name the output image file?

2 views
Skip to first unread message

Support

unread,
Feb 18, 2009, 8:53:23 PM2/18/09
to PDF2Image
Q: Output File Name - I see that you can customize the output file
name using the Prefix and Digits options, but is there a way to
specify the exact output name? For Example:

Input :MyDocument.pdf
Output :SomeImage.jpg

I think it would be a very useful feature. Right now I have to create
my image then rename the output file in code. It's not a huge
problem, but it would be nice if the SDK had this feature.

------
A: The problem is that most PDFs are multi-page files so converting
'MyDocument.pdf' will result in multiple JPEG files. If you are fine
with exporting to TIFF, you can specify '--multipage' option which
will result in a single output file (that can be named using '-o'
option).

With PDFNet SDK (www.pdftron.com/net) you have full control over which
pages are converted and how those pages are saved (including option to
explicitly name each output file).

Reply all
Reply to author
Forward
0 new messages