Page 1 of 1

[HELP] Opened image weight (memory) ?

Posted: 2010-06-07T04:38:47-07:00
by zax
Hello,

I'm new to Imagick and I would like to know the size in memory of a previously opened image (not the file size).
In order to get this memory size, I actually make a calculation with width, height, layers and depth but sometimes Imagick can't retrieve image depth from a TIF image.

Thanks for your help.

Re: [HELP] Opened image weight (memory) ?

Posted: 2010-06-07T05:19:35-07:00
by magick
Post a URL to a TIFF image where ImageMagick fails to retrieve the image depth. It should in all cases report the correct image depth.

Re: [HELP] Opened image weight (memory) ?

Posted: 2010-06-08T02:34:23-07:00
by zax
You're right, I didn't encounter any problem with image depth but, on order to calculate the "opened image weight", I need to retrieve the number of layers. And that's where my problem begin.