Convert from PDF to JPG (Multiple files and folders)

Here we specify the input (/S) and output files (/T) (Notice the use of the “*” character). We also use the /R to specify to convert all the subfolders within the input folder. The JPG format (/C1) of the target with on-screen confirmation (/V) is also specfied. Finally, we convert pages 2-5 (/1 2-5), use 80% JPEG Quality (/4 75), use 200 DPI resolution (/5 200):

 

ConvertPDFToImage.exe /S "C:\Input\*.pdf" /C1 /T "C:\Output\*.jpg" /1 2-5 /4 80 /5 200 /R /V

To change the target file type simply change the /T{Target File} and /C# switch. The /C# switch is not always needed (see Helpful Hints for Creating a Command Line). Easily change the width and height of the output file using the /6 and /7 switches respectively. To specify all pages leave /1 out or use /1 *.

 

See Also: Command Line Examples