Hi! A friend of mine is having problems using ImageMagick 6.7.9-2 on a Windows 7 Home Premium edition (64-bit) system with 8GB of RAM and 2TB of internal hard drive space. The image she's working with is 16"x24" in dimension at 280 DPI. The JPEG file is about 45MB on disk. She needs to get that file down to 10MB or so, without losing image quality (if that's at all possible).
So, I asked her to run this command:
Code: Select all
convert -strip -quality 90 big-image.jpg new-image.jpg
and convert terminates with the following message:
Code: Select all
convert.exe: Insufficient memory (case 4) 'big-image.jpg' @ error/jpeg.c/JPEGErrorHandler/316.
I did some research and found the "-limit" option and the "-list resource" option. I had her run:
and it reported the following resource information:
File: 1536
Area: 29.452GB
Memory: 13.715GiB
Map: 27.429GiB
Disk: unlimited
Thread: 4
Time: unlimited
Of course, the above output was formatted appropriately in the command output.
So, I asked her to run this command:
Code: Select all
convert -strip -quality 90 -limit 1024MiB big-image.jpg new-image.jpg
with ALL of her other applications terminated (no browser windows, no PhotoShop, etc), to see what happens. At some point, I'll have her upgrade to a newer version of ImageMagick but I wanted to start this thread to see if the latest version wouldn't have the memory issues version 6.7.9-2 is having or would the version of ImageMagick not matter since the image is just plain too large?
Thanks in advance!
Peace...