Please enable JavaScript to view this site.

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

Command Line Convert TIFF To JPG

Scroll Prev Top Next More

Convert TIFF To JPG Command Line

 

win2pdfd.exe convertto "sourcefile.tif" "destfile.jpg" jpg

win2pdfd.exe convertto "sourcefile.tif" "destfile.jpg" jpggray

 

Converts the TIFF "sourcefile.tiff" to a JPEG image, and saves the converted image to "destfile.jpg". The "jpg" variation saves the converted image as a color JPEG, and the "jpggray" variation saves the converted image as a grayscale JPEG.

 

If the TIFF file is more than one page, all pages are converted as separate files one per page in the format:

 

destpng.1.jpg

destpng.2.jpg

...

destpng.n.jpg

 

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 TIFF.

 

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.