win2pdfd.exe pdf2jpg "sourcepdf" "destjpg" pagenumber
win2pdfd.exe pdf2jpg "sourcepdf" "destjpg" startpage endpage
win2pdfd.exe pdf2jpggray "sourcepdf" "destjpg" pagenumber
win2pdfd.exe pdf2jpggray "sourcepdf" "destjpg" startpage endpage
Convert the PDF specified by "sourcepdf" to a color 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".
To convert a page range, specify the startpage and endpage instead of a pagenumber.
The "pdf2jpggray" variation is identical to "pdf2jpg", but the resulting JPEG file is saved as a gray scale 8 bit/pixel image file.
Any file names that contain spaces must be enclosed with quotation marks. The "sourcepdf" can be a local file path, or an web address (URL) to an existing PDF.
Requires a licensed version of Win2PDF. Contact email@example.com for a time limited evaluation license.
Returns 0 on success, and a Windows system error code on failure.