Need help optimizing greyscale GIF output
Posted: 2009-02-23T22:36:57-07:00
I have a project which will require me to convert a very large number (millions) of greyscale TIFFs to smaller, lower depth GIF files for display on screen.
I have tried this conversion using both IM and Nconvert (from XnView). I want to use IM, because it supports multi-processors...but currently Nconvert is just kicking its butt on final file size output. Nconvert is not multi-threaded though, so it can't take full advantage of our quad-core workstation.
I need help looking for ways to make IM create a smaller file. I am new to IM, so perhaps I am simply feeding it the wrong parameters.
I am starting with a 379KB greyscale TIFF which is 1856x768. I want the final image to be 1024px wide and resize height proportionally. This scan is simply writing on a white page using pencil. So full 256-color greyscale is not needed, but some grey is need (pure B&W looks unreadable). Using Nconvert's -grey 8 (8-bit greyscale) option, the 379KB file results in a new 39KB 1024x423 GIF.
Using IM with the "convert.exe -depth 2 -type optimize -resize 1024x1024" options, I get a 109KB GIF of the same size (1024x423). Obviously I am doing something wrong, or IM just can't compete on this particular project.
Help!
Thanks!
P.S. -- I don't HAVE to use GIF. PNG would also work for this project...but I figured GIF would be smaller in this case. But if you can make PNG work better, those suggestions would be welcome too!
I have tried this conversion using both IM and Nconvert (from XnView). I want to use IM, because it supports multi-processors...but currently Nconvert is just kicking its butt on final file size output. Nconvert is not multi-threaded though, so it can't take full advantage of our quad-core workstation.
I need help looking for ways to make IM create a smaller file. I am new to IM, so perhaps I am simply feeding it the wrong parameters.
I am starting with a 379KB greyscale TIFF which is 1856x768. I want the final image to be 1024px wide and resize height proportionally. This scan is simply writing on a white page using pencil. So full 256-color greyscale is not needed, but some grey is need (pure B&W looks unreadable). Using Nconvert's -grey 8 (8-bit greyscale) option, the 379KB file results in a new 39KB 1024x423 GIF.
Using IM with the "convert.exe -depth 2 -type optimize -resize 1024x1024" options, I get a 109KB GIF of the same size (1024x423). Obviously I am doing something wrong, or IM just can't compete on this particular project.
Help!
Thanks!
P.S. -- I don't HAVE to use GIF. PNG would also work for this project...but I figured GIF would be smaller in this case. But if you can make PNG work better, those suggestions would be welcome too!