I have tried this method in a few different ways, and I think what I am running into is not excessive file loading overhead:
It's the memory duplication each time the image is cloned. The load I was experiencing before with file loading has been replaced by duplicating the image in memory each time. The delay is nearly the same. I have tried to omit -clone 0 to see the results, and what seems to happen is that all the -write commands are executed, but only after all the other operations have been performed on the initial image. So, I wind up with N images, all with the same characteristics. Since I am resizing in a pyramid scheme, from 100% to 0%, I could use my first resize as the basis for the rest. That will cut my memory "cost" in half. The image won't be as clear as if it was resized from 100%, but then again, at 1.56%, it's a little hard to tell anyway. Does anyone have a recommended -filter for this operation? I have been using Blackman. But if I am using my 50% image as my "new master", perhaps there is a better one. Thanks in advance for you time. -Tom -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 10:47 AM To: [email protected]; Thomas B. Lawrence Subject: Re: [magick-users] Conjure OR other Batch techniques > I immediately turned to conjure The conjure program need some attention to bring it in line with the latest ImageMagick features. However, you can do many inline operations on the same image with the convert program. For example, convert mybigassimage.jpg \( -clone 0 -resize 50% -write resize.jpg \) \ \( -clone 0 -rotate 90 -write rotate.jpg \) null: Add as many operations enclosed in braces as needed. If you have many operations to perform on the same image and you have plenty of disk space you can use the MPC image format which is expensive to create but has near zero overhead when loading: convert mybigassimage.jpg mybigassimage.mpc convert -resize 50% mybigassimage.mpc resize.jpg convert -rotate 90 mybigassimage.mpc rotate.jpg Add as many additional operations as needed. _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
