Image Events has a limit; very big images can not be handled

There is a limit to the capicity of “Image Events” (run from an applescript)

I just tested a script from the Apple site
http://www.apple.com/applescript/imageevents/04.html

and it worked fine and fast for images up to a size of 14.000 x 10.000 pixels, but when I tried to scale an even bigger image of 18.000 x 12.600 pixels (at 72 dpi) (PSD format) I did get a crash warning window (I do have the full crash report available for those who can read these reports)

So that is my end of testing this option … my conclusion is that ‘Image Events’ is nice for normal household usage… but not for the heavy work. Some people state that Photoshop is so hungry for memory… (and I have 9 Gigabyte in my G5 machine) but apparently scaling a very big image means also that that image needs to be laoded in some form of memory and my guess is that the makers of image vent have not envisaged such heavy usage as I tried …

belwo the code I used … I would like comments …

Running “Image Events” from an Applescript

set this_file to “Users:tjebbevantijen:Desktop:Test7.psd”
set the target_length to 16000
try
tell application “Image Events”
– start the Image Events application
launch
– open the image file
set this_image to open this_file
– perform action
scale this_image to size target_length
– save the changes
save this_image with icon
– purge the open image data
close this_image
end tell
on error error_message
display dialog error_message
end try

the target file (Test7.psd) is 18.000 x 12.600 pixels

the same script worked without problems with an image of 14.000 x 10.000 pixels

Conclusion an out of memory situation (?)

other test with even biger files returned no feed back at all and no scaling was done

This is a bug… I did slowly step up the size to see when the crash would happen

Hi

I have not tried out image events on big images but from your tests looks like a bug.

Try Graphic converter instead. Sorry cant give you a script as yet but the app is pretty easy to applescript