Code: Select all
size_t sizeXY = 8192;
Magick::Image canvas(Magick::Geometry(sizeXY, sizeXY), Magick::Color(0, 0, 0));
So basically I'm looking for a library that I can use to stitch together 16² tiles (512px² each) and draw some basic shapes (dots/color filled circles) on the resulting canvas. ImageMagick/Magick++ has way, way more features than I needed, nonetheless I looked into it, because it seems to me like the de-facto standard when it comes to working with images cross platform. I
did expect my application to get bloated a by the unused capabilities of this behemoth of a library, but not nearly as much as this...
The exact same program using CImg instead...
...which is even less than what I've naively calculated myself.
So why does ImageMagick/Magick++ need
more than four times the memory? Can I do anything to get it down to something reasonable?
Thanks
PS: I've tested this with versions 6.9.2-4-Q8 and 7.0.0-0~beta20151020 (Q8) on Windows 10 x64.