Resizing large image with little memory
Posted: 2013-06-21T17:40:25-07:00
Hi,
I'm trying to resize a very large image -- approx 1.2 gigapixels -- to a smaller version.
Using this command...
convert C:\bubblechain-ReNew-2-self-gel-1r-MegaHuge.bmp -resize 50% converted-MegaHuge.bmp
...I'm getting this error:
I'm using the most recent binary of ImageMagick for windows, ImageMagick-6.8.6-1-Q16-x86-dll.exe. I have xp sp3, with 2gb of memory. I converted a smaller image fine. I tried to follow some of the ideas here -- http://www.imagemagick.org/Usage/files/#massive -- but I think I'm not grokking the syntax correctly...but before I tinker with it more, I'd like to know what would be the best approach.
Any way I can convert this given the limitations of my system? If so, what's the best way?
Cheers,
Tim
I'm trying to resize a very large image -- approx 1.2 gigapixels -- to a smaller version.
Using this command...
convert C:\bubblechain-ReNew-2-self-gel-1r-MegaHuge.bmp -resize 50% converted-MegaHuge.bmp
...I'm getting this error:
Code: Select all
C:\Program Files\ImageMagick-6.8.6-Q16> convert C:\bubblechain-ReNew-2-self-gel-
1r-MegaHuge.bmp -resize 50% converted-MegaHuge.bmp
convert.exe: Memory allocation failed `C:\bubblechain-ReNew-2-self-gel-1r-MegaHu
ge.bmp' @ error/bmp.c/ReadBMPImage/933.
convert.exe: no images defined `converted-MegaHuge.bmp' @ error/convert.c/Conver
tImageCommand/3106.
Any way I can convert this given the limitations of my system? If so, what's the best way?
Cheers,
Tim