High volume conversions
Posted: 2008-02-22T13:35:27-07:00
Hello,
I have a 2 part question.
1) I need to convert large tiff images (28MB) so that the Photometric Interpretation converts from min-is-while to min-is-black. This works nicely by just issuing convert file1.tiff to file2.tiff in my case - not sure why, but it doesn't matter. I need to create a script which gets these images from print spool directories on one UNIX (server server 1), convert and print these images on another server 2 NFS mounted to server 1. The issue is there are 6 or 7 different spool directories which indicate which printer to use, so in the convert process, I need to print to the correct printer on server 2. I have no issue in scripting to get the images. With that said, mogrify won't work when I have many to process from different source directories to different destination directories? Also I need to check these directories at the source on a perodic bases and process accordingly. So in my script I though I'd issue using convert something like "exec convert 1.tiff FastProcess/1c.tiff &" placing convert in the background (once I got the image). However, if I have 10 images to print, convert is very inefficient when placed as a backgorund process. Aside from processing serially, - which I might, is there a better way?
2) If I compress the image using tiffcp -c lzw, I'm curious as to why the image resolution doesn't change. Doesn't compression affect image quality. Sorry if this may seem like a dumb question.
thanks
Robert
I have a 2 part question.
1) I need to convert large tiff images (28MB) so that the Photometric Interpretation converts from min-is-while to min-is-black. This works nicely by just issuing convert file1.tiff to file2.tiff in my case - not sure why, but it doesn't matter. I need to create a script which gets these images from print spool directories on one UNIX (server server 1), convert and print these images on another server 2 NFS mounted to server 1. The issue is there are 6 or 7 different spool directories which indicate which printer to use, so in the convert process, I need to print to the correct printer on server 2. I have no issue in scripting to get the images. With that said, mogrify won't work when I have many to process from different source directories to different destination directories? Also I need to check these directories at the source on a perodic bases and process accordingly. So in my script I though I'd issue using convert something like "exec convert 1.tiff FastProcess/1c.tiff &" placing convert in the background (once I got the image). However, if I have 10 images to print, convert is very inefficient when placed as a backgorund process. Aside from processing serially, - which I might, is there a better way?
2) If I compress the image using tiffcp -c lzw, I'm curious as to why the image resolution doesn't change. Doesn't compression affect image quality. Sorry if this may seem like a dumb question.
thanks
Robert