Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line BMP To PDF

Scroll Prev Top Next More

BMP To PDF Command Line Format

 

win2pdfd.exe bmp2pdf "sourcebmp" "destpdf"

win2pdfd.exe bmp2pdfa "sourcebmp" "destpdf"

win2pdfd.exe bmp2pdf "sourcebmp" "destpdf" width height

win2pdfd.exe bmp2pdfa "sourcebmp" "destpdf" width height

 

Convert the Windows bitmap BMP image file specified by "sourcebmp" to a PDF file named "destpdf".

 

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

 

The optional width and height parameters specify the width and height of the resulting PDF in points (1/72 inch).

 

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

 

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.