Convert from PDF to a JPG (Single file)

Here we specify the input (/S) and output files (/T), and the JPG format (/C1) of the output file. We also use the /V switch to give us on-screen confirmation of how the conversion went. Lastly, we convert all pages (/1 *), use 75% Quality (/4 75), use 200 DPI Resolution (/5 200):

 

ConvertPDFToImage.exe /S "C:\Input\Coffee.pdf" /C1 /T "C:\Output\Cream.jpg" /1 * /4 75 /5 200 /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 convert only certain pages, say 2-5, specify it using the the /1 switch (i.e. /1 2-5).

 

See Also: Command Line Examples