non-square resolution
Posted: 2008-07-24T22:12:57-07:00
I'm a bit of newbie, using ImageMagick on WinXP.
I deal with TIFF images quite a bit, and currently use LeadTools to do some of our conversion. I'm trying to get IM to do realitively the same thing, but having a bit of hard time. My goal is to see if IM can compete with LeadTools in performance and quality for batch jobs.
My source images have the following traits:
TIFF
Resolution: 240x120
4-bit depth greyscale
full page scans, (8.5" x 11")
LZW compression
I would like my resulting images to be, probably using CONVERT:
TIFF image--> filename slightly different than original
Resolution: 240x240, but would like to know how to keep 240x120 as an option
1-bit depth greyscale (it would be nice to dictate which level of grey results in black during conversion)
A recommendation for compression, either LZW or Fax4
I deal with millions of image per project..so size is very important for SAN usage reasons
The best I've come up with is:
But the file size seems to be too large...and the process time seems rather slow.
LeadTools can do this in roughly 2 images per second on our dedicate workstations.
I deal with TIFF images quite a bit, and currently use LeadTools to do some of our conversion. I'm trying to get IM to do realitively the same thing, but having a bit of hard time. My goal is to see if IM can compete with LeadTools in performance and quality for batch jobs.
My source images have the following traits:
TIFF
Resolution: 240x120
4-bit depth greyscale
full page scans, (8.5" x 11")
LZW compression
I would like my resulting images to be, probably using CONVERT:
TIFF image--> filename slightly different than original
Resolution: 240x240, but would like to know how to keep 240x120 as an option
1-bit depth greyscale (it would be nice to dictate which level of grey results in black during conversion)
A recommendation for compression, either LZW or Fax4
I deal with millions of image per project..so size is very important for SAN usage reasons
The best I've come up with is:
Code: Select all
convert 00000305.tif -resize 100%x200% -density 240x240 +dither -scale 100% -type bilevel -compress lzw output.tif
LeadTools can do this in roughly 2 images per second on our dedicate workstations.