I was attempting to do some automated text processing of A4 scans.
My test data was 5100x6494 pixel, grayscale 300 dpi something like a A3 300 dpi scan. Not trivial, but my main server is quite big. Jeez, even my laptop has 750 Mb of RAM Now, a single scan as raw bytes should be around 5100x6494 = 31.5 Mb Not a problem. I was attempting to use a (Gimp created) mask to split text from images, so I could apply different processing to text and graphics. So; here's my line to do that. convert 'data.png' \( -size 5100x6494 xc:'white' \) +swap \( 'mask.png' \) -composite v.tif Memory consumption as shown by "top" after 4 minutes... 967 Mb WHAT!? I don't expect ImageMagick to be re-written for my sake, but if anyone could outline what's going on I'd be grateful. Or am I provoking worst case behaviour in my ignorance? BugBear _______________________________________________ Magick-developers mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-developers
