On Sat, 15 Apr 2006 [EMAIL PROTECTED] wrote:
With ImageMagick 6.2.6, trying to average 2872x5050 images that report
ImageMagick stores images internally as RGBA. You can reduce the resource
comsumption 100% by using a Q8 version of ImageMagick. The default is
Q16 (16 bits per pixel). You can reduce memory comsumption and force pixels
to disk with this command:
convert -limit area 256 -average img1.png img2.png img_out.png
Thank you for this suggestion. That line does reduce memory consumption;
however, in doing so, convert simply fails with:
convert: Memory allocation failed `img1.png'.
Actually, are not all pixel operations performed in floating point?
With 32-bit floats per channel, I expect 128 bits per raw RGBA pixel.
A further calculation based on the allocation of 870219776 bytes for
the 2872x5050 image, suggests that with "convert -average", ImageMagick is
allocating 480 bits per pixel.
Kind regards,
- John
--
http://jodarom.sdf1.org/
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers