I'm not familiar with Imagemagick, but if it is failing because of memory limitations, how are you going to display/manipulate the resulting image if it's too big?

Viggy