Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF To TIFF

Scroll Prev Top Next More

PDF To TIFF Command Line Format


win2pdfd.exe pdf2tiff "sourcepdf" "desttiff" pagenumber

win2pdfd.exe pdf2tiff "sourcepdf" "desttiff" startpage endpage

win2pdfd.exe pdf2tiff "sourcepdf" "desttiff" pagenumber xresolution yresolution

win2pdfd.exe pdf2tiff "sourcepdf" "desttiff" startpage endpage xresolution yresolution


Convert the PDF specified by "sourcepdf" to a TIFF image file named "desttiff". The "pdf2tiff" command can be one of:


PDF to color TIFF


PDF to black and white TIFF


PDF to grayscale TIFF


PDF to color TIFF with transparent background


If "pagenumber" is 0, all pages are saved to the filename specified by "desttiff" in a multi-page TIFF. If the "pagenumber" is greater than zero, the specified page number is saved to the filename specified by "desttiff".


To convert a page range, specify the startpage and endpage instead of a pagenumber.


To set the output resolution of the TIFF file, set the xresolution and yresolution.  If no resolution is specified, it will save at 300 DPI.


The "pdf2tiffmono" variation is identical to "pdf2tiff", but the resulting TIFF file is saved as a monochrome 1 bit/pixel image file. Similarly, the "pdf2tiffgray" saves the destination TIFF file 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.


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.