Export PDF to Image with Command Line

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Mainert
User
Posts: 4
Joined: Sun Jan 08, 2017 12:41 pm

Export PDF to Image with Command Line

Post by Mainert »

Hi,

i use PDF XChange Viewer to Export all Sites of PDF Files to Images. How can i do this using the Command Line with PDF XChange Viewer? Is there a CL-Option or a other Tracker Tool that can do this?

Mainert
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Export PDF to Image with Command Line

Post by Will - Tracker Supp »

Hi Mainert,

Thanks for the post - I'm afraid that this cannot be done with th command line with the Viewer, but can with the latest release of PDF-Tools. I'd recommend that you take a look at PDF-Tools:
https://www.pdf-xchange.com/product/pdf-tools
https://help.pdf-xchange.com/pdfxt6 ... ns_ed.html

Also, please be aware that the Viewer was discontinued and replaced by the Editor quite some time ago, so no further changes will be made to the Viewer moving forward.

Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Mainert
User
Posts: 4
Joined: Sun Jan 08, 2017 12:41 pm

Re: Export PDF to Image with Command Line

Post by Mainert »

Mmmmh, the PDF XChange Editor can't export the Sites of a PDF File to TIFF-Images? I couldn't find anything to do this? This is why i still use PDF XChange Viewer even it isn't supported anymore.

I also installed the XChange Editor free again but i can't find tzhe PDF Tools. Is this only included in the Pro-Version?
User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1645
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: Export PDF to Image with Command Line

Post by Patrick-Tracker Supp »

Hello Mainert,

Thank you for the post.
Mmmmh, the PDF XChange Editor can't export the Sites of a PDF File to TIFF-Images?
In the Editor, you can export to TIFF and other image formats via File> Export> To images:

Image
I also installed the XChange Editor free again but i can't find tzhe PDF Tools. Is this only included in the Pro-Version?
PDF-Tools is not included with the Editor. Tools can be purchased by itself (the PDF-Tools license will also license the Editor) and is included with PDF-XChange PRO as well.

You can download the Tools installer here: https://www.pdf-xchange.com/PDFTools6.zip

I hope this helps!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America
Mainert
User
Posts: 4
Joined: Sun Jan 08, 2017 12:41 pm

Re: Export PDF to Image with Command Line

Post by Mainert »

You say PDFTools is included in PDF XChange Editor Pro, but you posted a Link to Download PDFTools. Is this a Trial-Version of PDF Tools? Is there a HowTo how i can use PDFTools with the command line?
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Export PDF to Image with Command Line

Post by Will - Tracker Supp »

Hi Mainert,

Thanks for the post - That's correct, the link that Patrick posted is a trial download for PDF-Tools. Please note that Patrick was not referring to "PDF Editor Pro", but PDF-XChange Pro which is a bundle containing the Editor Plus, PDF-Tools and PDF-XChange Standard.

Regarding using Tools from the Command Line please see the second link in my previous post.

Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Willy Van Nuffel
User
Posts: 2347
Joined: Wed Jan 18, 2006 12:10 pm

Re: Export PDF to Image with Command Line

Post by Willy Van Nuffel »

It seems like the link to the command line options was for the Editor.

For PDF-Tools V6 they are here:
https://help.pdf-xchange.com/pdfxt6 ... ons_t.html

Best regards.
User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1645
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: Export PDF to Image with Command Line

Post by Patrick-Tracker Supp »

Hi Willy,

Thanks for catching that!

Cheers!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America
Mainert
User
Posts: 4
Joined: Sun Jan 08, 2017 12:41 pm

Re: Export PDF to Image with Command Line

Post by Mainert »

Just to make clear what i'm searching for. I'm searching for a Comand Line Tool that can convert PDf into Images via Command Line. Something like this.

Code: Select all

tool input.pdf output.tiff
What I've seen here https://help.pdf-xchange.com/pdfxt6 ... ons_t.html, this doesn't look like i can do this with PDFTools.
User avatar
Patrick-Tracker Supp
Site Admin
Posts: 1645
Joined: Thu Mar 27, 2014 6:14 pm
Location: Vancouver Island
Contact:

Re: Export PDF to Image with Command Line

Post by Patrick-Tracker Supp »

Hello,

Actually, this can be done using the /RunTool command. I have tested converting PDF to images using this command string:

Code: Select all

C:\Program Files\Tracker Software\PDF Tools V6>PDFXTools.exe /RunTool:showui=no;showprog=no pdfToImages "D:\Users\Patrick Charest\Documents\Ref\SOF176895 - E.pdf" "D:\Users\Patrick Charest\Documents\Ref\SOF176895 - E.tif"
Get the tool ID of even your custom tools using the following commands:

Code: Select all

C:\Program Files\Tracker Software\PDF Tools V6>PDFXTools.exe/DumpTools "C:\Users\patrick\Documents\PDF-Tools.txt"


I hope this helps!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Cheers,

Patrick Charest
Tracker Support North America
Post Reply