Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface > Command Line Convert To Format

Command Line Convert PNG To TIFF

Scroll Prev Top Next More

Convert PNG To TIFF Command Line

 

win2pdfd.exe convertto "sourcefile.png" "destfile.tif" tiff

win2pdfd.exe convertto "sourcefile.png" "destfile.tif" tiffmono

win2pdfd.exe convertto "sourcefile.png" "destfile.tif" tiffgray

win2pdfd.exe convertto "sourcefile.png" "destfile.tif" tifftransparent

 

Converts the PNG "sourcefile.png" to a TIFF image, and saves the converted image to "destfile.tif". The last parameter controls the TIFF format:

tiffmono

TIFF - monochrome

tiffgray

TIFF - grayscale

tiff

TIFF - color

tifftransparent

TIFF - color with transparent background

 

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

 

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.