lequinox

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Conversion to JPG -ConvertTo parameters #60572
    lequinox
    Participant

    Thanks for providing the amazing PDF24 DocTool! I have a follow-up question:

    As well, I would like to convert a PDF file to a JPG file through the command line using pdf24-DocTool.exe. However, I would like the file to be converted without opening the "Save as Dialog" in the process and without creating a specific profile for converting to a JPG prior to executing the code.

    In my case, I need to convert a PDF file to a JPG file with one paramater changed: The standard selected is 150 DPI and I need to change that to 300 DPI. Following the instructions above, I created a specific profile manually (called "ToJPEG300DPI"). The example code above would be then:

    "C:\Program Files (x86)\PDF24\pdf24-doctool.exe" -applyProfile -profile "user/ToJPEG300DPI" -noProgress -outputFile "N:\France\Prog\Finish.jpg" "N:\France\Prog\Start.pdf"

    As I would like to run the code on other computers, these users would not have the previously created specific profile.

    I checked the official manual for the pdf24-DocTool.exe and there is no specific command for only converting to JPG with a addicitional specific parameter, e.g. alterin the DPI.

    Hence I cannot create a profile, prior to executing, the command -applyProfile cannot be used.

    The command  -noProgess as they seem not compatible. Therefore, the following code would NOT work:

    "C:\Program Files (x86)\PDF24\pdf24-doctool.exe" -convertTo -noProgress -outputFile "N:\France\Prog\Finish.jpg" "N:\France\Prog\Start.pdf"

    Is there a feature to directly convert a PDF to JPG (with e.g. 300 DPI) using pdf24-DocTool.exe, without creating a profile and without popping up the "save as" dialog?

    Thanks so much in advance for your help!

Viewing 1 post (of 1 total)