Search found 4 matches

by bean
2015-10-25T20:14:12-07:00
Forum: Magick++
Topic: Why does Magick++ use 800+ MB of memory for this?
Replies: 8
Views: 15557

Re: Why does Magick++ use 800+ MB of memory for this?

It looks like your version of ImageMagick has HDRI enabled and then each pixel will require 32 bits (sizeof(float)) per channel. Did you build from source or did you use one of the Windows installers? Thanks, that was indeed the culprit. 32 bits (sizeof(float)) per channel Wait what? Are you ...
by bean
2015-10-23T23:23:22-07:00
Forum: Magick++
Topic: Why does Magick++ use 800+ MB of memory for this?
Replies: 8
Views: 15557

Re: Why does Magick++ use 800+ MB of memory for this?

Sorry, I misunderstood. Yes, for 8192x8192 pixels in Q8, I would expect 268 MB or so. Some operations can work with palette images that are just 1 byte/pixel, but I don't know how to program that. So no idea why this isn't the case on my system? :( PS: Yeah... oups... I've grown up with Windows, so ...
by bean
2015-10-23T20:57:27-07:00
Forum: Magick++
Topic: Why does Magick++ use 800+ MB of memory for this?
Replies: 8
Views: 15557

Re: Why does Magick++ use 800+ MB of memory for this?

IM v6 Q8 needs 4 bytes/pixel in memory. When you have read the input images and are making the output, you have 16x16 images each of 512x512 pixels, plus the same again for the output. This is 537 MB (plus some overhead per image). Please note that the 800+ MB are originating from the single line ...
by bean
2015-10-23T19:07:45-07:00
Forum: Magick++
Topic: Why does Magick++ use 800+ MB of memory for this?
Replies: 8
Views: 15557

Why does Magick++ use 800+ MB of memory for this?

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++ ...