Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line JPG To PDF

Scroll Prev Top Next More

JPG To PDF Command Line Format

 

win2pdfd.exe jpg2pdf "sourcejpg" "destpdf"

win2pdfd.exe jpg2pdfa "sourcejpg" "destpdf"

 

 

Convert the JPG image file specified by "sourcejpg" to a PDF file named "destpdf".

 

The "jpg2pdfa" variation is identical to "jpg2pdf", but the resulting PDF is saved using the PDF/A format.

 

Any file names that contain spaces must be enclosed with quotation marks. The "sourcejpg" can be a local file path, or an web address (URL) to an existing JPG.

 

This feature requires a licensed version of Win2PDF. Contact us for a time limited evaluation license.

 

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