Rotate Tiff will increase File size

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

Moderators: helmut, XnTriq, xnview

Post Reply
Johann.H

Rotate Tiff will increase File size

Post by Johann.H »

Hello,

i try to convert (rotate) a tif file compresed with citt 4.
After convert the file size is 15MB. the original has 62Kb.

I had show the original file ist 1 Bit BW. The output Format is Grayscale 8 Bit.

How i can force the Output format to 1Bit BW.

Here the commando line :
C:\Programme\XnView\nconvert -v -out tiff -c 7 -o D:\gain\z155.tif -rotate -90 "D:\gain\Z155_bak.TIF"

The output from nconvert :
** NCONVERT v4.57 (c) 1991-2005 Pierre-E Gougelet (Mar 3 2006/12:54:08) **
Version for Windows NT/9x/2000 (All rights reserved)
** This is a freeware software (for non commercial use)

A TIFF (RGB) - CCITT Group 4 was recognized : D:\gain\Z155_bak.TIF
Width:4680 Height:3296 with 2 colors
Nplanes : 1 Bitscount : 1
Bytes Per Plane : 585
xdpi : 400 ydpi : 400
Rotating...
Conversion of D:\gain\Z155_bak.TIF into D:\gain\z155.tif OK
Johann.H

Rotate Tiff will increase File size

Post by Johann.H »

Hello,

I have found self the solution :-)
with foloew option : -binary nodither

The complet vonvert parameter :
C:\Programme\XnView\nconvert -v -out tiff -c 7 -o D:\gain\z155.tif -rotate -90 -binary nodither "D:\gain\Z155_bak.TIF"
kass

Post by kass »

I had this problem too. In XnView you can set the 'write' binary option for tiff's to CITT G4 (it defaults with no compression)
Post Reply