NConvert - help with file compression [Solved]
Posted: Mon Apr 28, 2025 2:48 pm
Hi
Firstly, apologies if there's not the right info here as I'm a relative novice when it comes to Nconvert, but I'm hoping someone can help me with this as I've tried everything I've read (or that ChatGPT has suggested) and I'm going round in circles.
Basically, I have a large number of single page tifs which I need to convert to multi-page using nconvert, but whatever variation of compression I use, I get a significantly increased filesize when I run the command.
An example of one of my input TIFs is:-
C:\NConvert\Input\000ID001.TIF : Success
Format : TIFF
Name : tiff
Compression : CCITT Group 4
Width : 2480
Height : 3504
Components per pixel : 1
Bits per component : 1
Depth : 1
# colors : 2
Color model : RGB
Bytes Per Plane : 310
Orientation : Top Left
Xdpi : 300
Ydpi : 300
Page(s) : 1
Info:
Photometric Interpretation: White=0
Software: Pixel Translations Inc., PIXTIFF Version 55.0.218.726
Metadata : ( EXIF )
In this particular example, I'm trying to merge 60 single page TIFs of the same format using variations of this command...
but I have tried many variations of the compression (LZW, cci4, floyd from memory) and I always seem to get the same result.
My input files (60 single page tifs) are about 3.1MB but the output file is 17MB. The files appear to have been created by a very old scanning program from about 15 years ago and are all black and white
If anyone has any helpful suggestions, it would be appreciated.
Firstly, apologies if there's not the right info here as I'm a relative novice when it comes to Nconvert, but I'm hoping someone can help me with this as I've tried everything I've read (or that ChatGPT has suggested) and I'm going round in circles.
Basically, I have a large number of single page tifs which I need to convert to multi-page using nconvert, but whatever variation of compression I use, I get a significantly increased filesize when I run the command.
An example of one of my input TIFs is:-
C:\NConvert\Input\000ID001.TIF : Success
Format : TIFF
Name : tiff
Compression : CCITT Group 4
Width : 2480
Height : 3504
Components per pixel : 1
Bits per component : 1
Depth : 1
# colors : 2
Color model : RGB
Bytes Per Plane : 310
Orientation : Top Left
Xdpi : 300
Ydpi : 300
Page(s) : 1
Info:
Photometric Interpretation: White=0
Software: Pixel Translations Inc., PIXTIFF Version 55.0.218.726
Metadata : ( EXIF )
In this particular example, I'm trying to merge 60 single page TIFs of the same format using variations of this command...
Code: Select all
NConvert.exe -out tiff -o C:\NConvert\Output\filename.tif -multi -c 2 -colors 64 -dither C:\NConvert\Input\*
My input files (60 single page tifs) are about 3.1MB but the output file is 17MB. The files appear to have been created by a very old scanning program from about 15 years ago and are all black and white
If anyone has any helpful suggestions, it would be appreciated.