Large GIF with Magick++
Posted: 2018-11-02T07:47:39-07:00
Hello,
Is it possible to disable core limits of ImageMagick so it will open 500 frames GIF of ~1900x1000 size, so it will use all available memory and fail only if memory is exhausted? Right now it correctly reads somewhere first 35 coalesced frames and no one operation can be done as pixel cache is exhausted. I'd prefer to allow Magick++ to use all available memory and throw exception if memory is out, so I can tell user that exactly this GIF is so big and can't be opened.
Thank you.
Is it possible to disable core limits of ImageMagick so it will open 500 frames GIF of ~1900x1000 size, so it will use all available memory and fail only if memory is exhausted? Right now it correctly reads somewhere first 35 coalesced frames and no one operation can be done as pixel cache is exhausted. I'd prefer to allow Magick++ to use all available memory and throw exception if memory is out, so I can tell user that exactly this GIF is so big and can't be opened.
Thank you.