SLUG Mailing List Archives
Re: [SLUG] Image rotation for some images taking hours too long.
- To: slug <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Image rotation for some images taking hours too long.
- From: Michael Lake <Mike.Lake@xxxxxxxxxx>
- Date: Mon, 21 Apr 2008 14:09:09 +1000
- User-agent: Thunderbird 188.8.131.52 (Windows/20080213)
This post on the Imagemagick dev mailing list mentioned breaking the image up like
I might be able to try this on the weekend.
Martin Visser wrote:
As you are rotating a whole 90 degrees, one technique that might be
more memory efficient is to divide the rotate problem up. I'll try
scripting it momentarily but you could
1. Divide the image into, say, a 4 x 4 grid of sub-images.
2. Rotate each sub-image independently
3. Then reassemble the sub-images into a whole (obviously in the right order)
That way you only need to store an image 1/16 of the whole at any one time
Computational Research Centre of Expertise
Science Faculty, UTS
Ph: 9514 2238
UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information. If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments. If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
Think. Green. Do.
Please consider the environment before printing this email.