Error Processing TIFF 1bit files with LZW compression

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

Moderators: helmut, XnTriq, xnview

Post Reply
MarcoA
Posts: 8
Joined: Fri Feb 23, 2007 2:27 pm

Error Processing TIFF 1bit files with LZW compression

Post by MarcoA »

Hello everybody!
I'm using succesfully NCOVERT from version 4.78 for managing big tiff 1 bit files.
In particular the purpose is to decrease resolution from 2400 dpi to 150 dpi mantaining the the size.
As I wrote at beginning, everything works fine if I use TIFF 1 bit files with CCITT Group 4 compression.
As soon as I try to use TIFF 1 bit files using LZW compression, I got a system application error, and NCOVERT closes.
I downloaded and tried the version 4.83 but the result is the same.
The command is:

"NConvert.exe" -out tiff -c 2 -o "[FILEOUT]" -ratio -resize_bw_grey [width] [height] -dpi 150 "[FILE IN]"

Do you have any hint or particular versions that works with LZW files?
Thank you in advance to everybody for the help...
MarcoA
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Error Processing TIFF 1bit files with LZW compression

Post by xnview »

MarcoA wrote:Hello everybody!
I'm using succesfully NCOVERT from version 4.78 for managing big tiff 1 bit files.
In particular the purpose is to decrease resolution from 2400 dpi to 150 dpi mantaining the the size.
As I wrote at beginning, everything works fine if I use TIFF 1 bit files with CCITT Group 4 compression.
As soon as I try to use TIFF 1 bit files using LZW compression, I got a system application error, and NCOVERT closes.
I downloaded and tried the version 4.83 but the result is the same.
The command is:

"NConvert.exe" -out tiff -c 2 -o "[FILEOUT]" -ratio -resize_bw_grey [width] [height] -dpi 150 "[FILE IN]"

Do you have any hint or particular versions that works with LZW files?
Thank you in advance to everybody for the help...
MarcoA
Do you know the size in pixels?
Pierre.
MarcoA
Posts: 8
Joined: Fri Feb 23, 2007 2:27 pm

Post by MarcoA »

Hi, Pierre!
Thanks for the reply!
The size of the original Tiff 1 bit file (2400 dpi) is 49600 x 38734 pixles.
The target (150 dpi) should have a dimension of 3100 x 2421 pixels.
Note that if the same original file is compressed with CCITT 4, everything works fine!
Do you have any idea?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

MarcoA wrote:Hi, Pierre!
Thanks for the reply!
The size of the original Tiff 1 bit file (2400 dpi) is 49600 x 38734 pixles.
The target (150 dpi) should have a dimension of 3100 x 2421 pixels.
Note that if the same original file is compressed with CCITT 4, everything works fine!
Do you have any idea?
Really?? Is it possible to have this file?
Pierre.
MarcoA
Posts: 8
Joined: Fri Feb 23, 2007 2:27 pm

Post by MarcoA »

Of course it is possible!
If you have an FTP site, please give me via PM the address and the login, so I could upload both the original file versions, the CCITT4 and the LZW.
Looking forward to your reply,
Thank you very much once more for the support!
Marco.
Post Reply