NConvert MultiPage TIF to PDF

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

JerrySartin
Posts: 1
Joined: Fri Aug 14, 2015 1:31 pm

NConvert MultiPage TIF to PDF

Post by JerrySartin »

I want to be able to produce a multipage PDF from a multipage TIF. I'm able to do this using XnConvert, but not with NConvert. Is there a trick to doing this? I see there's an option to export a batch script from XnConvert, but when i use this feature, all i get is a batch file with the single word 'NCONVERT' in it.
cday
XnThusiast
Posts: 4169
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: NConvert MultiPage TIF to PDF

Post by cday »

JerrySartin wrote:I want to be able to produce a multipage PDF from a multipage TIF.
Please try this code:

Code: Select all

nconvert -multi -out pdf -o test.pdf test.tif
I've omitted compression of the output PDF file, as the optimum type of compression will depend on the colour depth of your images, please see the NConvert help file:

Code: Select all

Options :
...
-c value          : Compression number (default : 0)
              PDF    : 1 (Fax), 2 (Rle), 3 (LZW), 4(ZIP), 5 (JPEG)
...
-q value          : JPEG/PNG/FPX/WIC/PDF quality (default : 100)
            
Update 11 June 2016

The default JPEG compression value used by NConvert is now 85:

Code: Select all

-q value          : JPEG/FPX/WIC/PDF quality (default : 85)
From the NConvert 6.82 help file, version in which change ocurred not known.