Converting TIFF-G4 to PDF

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

Moderators: helmut, XnTriq, xnview

Post Reply
benmmiv
Posts: 2
Joined: Tue Apr 28, 2009 7:49 am

Converting TIFF-G4 to PDF

Post by benmmiv »

Hi,

I have to write a script where at one point, I must convert a CCITT-Group4 TIFF file to a PDF, but there's a problem with the output file. Embedding this monochrome image within a PDF, Nconvert turns it into an image with a colordepth of 8... I use Nconvert version 5.30 and the following command:

nconvert.exe -binary nodither -keepcspace -colors 2 -out pdf -c 4 -o file.pdf file.tif

I also tried using no "-keepcspace" and "-colors" options, having no greater success. Using Acrobat 6 Pro to do the job, the embedded image keeps its original colordepth.

Could anyone help ?
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Converting TIFF-G4 to PDF

Post by xnview »

If you remove -colors 2?
Pierre.
benmmiv
Posts: 2
Joined: Tue Apr 28, 2009 7:49 am

Re: Converting TIFF-G4 to PDF

Post by benmmiv »

Right, using the above command. I then decided to use GS, even if I have to rotate the image after (it always comes portrait oriented).

Thx anyway.

Benoît
Post Reply