Page 1 of 1

Why does identifying colorspace use 7GB of memory?

Posted: 2019-04-20T17:03:12-07:00
by chaddjohnson
Hello,

When using

Code: Select all

identify -format %[colorspace] example.tif
to identify the colorspace of an 88MB CMYK TIFF, over 7GB of RAM is used on my machine. Why is this? Is there by chance a less resource-intensive way for ImageMagick to identify colorspace? I am able to run the following on my Mac with almost no memory usage:

Code: Select all

sips -g space example.tif

Re: Why does identifying colorspace use 7GB of memory?

Posted: 2019-04-20T21:08:35-07:00
by fmw42
Is the TIFF file compressed? If so, then when expanded it might be much larger. Otherwise, wait for the developers or someone who knows the software better to respond.

Re: Why does identifying colorspace use 7GB of memory?

Posted: 2019-04-23T10:15:14-07:00
by chaddjohnson
fmw42 wrote: 2019-04-20T21:08:35-07:00 Is the TIFF file compressed? If so, then when expanded it might be much larger. Otherwise, wait for the developers or someone who knows the software better to respond.
Yep, the TIFF is compressed.