Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF To JPG

Scroll Prev Top Next More

win2pdfd.exe pdf2jpg "sourcepdf" "destjpg" pagenumber


Convert the PDF specified by "sourcepdf" to a JPEG image file "destjpg".  If "pagenumber" is 0, all pages are converted as separate files one per page in the format:







If the "pagenumber" is greater than zero, the specified page number is saved to the filename specified by "destjpg".


Any file names that contain spaces must be enclosed with quotation marks.


Returns 0 on success, and a Windows system error code on failure.