I will try these "+clone" operations instead of "-clone 0" that you
suggested before (along with +delete as well).

Thanks.

-Tom

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 07, 2006 12:26 PM
To: [email protected]; [EMAIL PROTECTED]; Thomas B.
Lawrence
Subject: RE: [magick-users] Conjure OR other Batch techniques

> 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.

ImageMagick uses a reference-counted cloning process which only copies
the image pixels when they are updated.

After you clone an image, apply your image operators and write it. Now
delete it:

  convert mybigassimage.jpg \
    \( +clone -resize 50% -write resize-50.jpg +delete \) \
    \( +clone -resize 12% -write resize-12.jpg +delete \) \
    \( +clone -resize 6% -write resize-6.jpg +delete \) \
    \( +clone -resize 3% -write resize-3.jpg +delete \) \
    \( +clone -resize 1% -write resize-1.jpg +delete \) \
    null:




_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to