Thanks.
I added
MagickSetResourceLimit (MemoryResource, 500000000);
so there's no out of memory problem any more but combining those images last 41 minutes where another implementation for animated gifs (GifLib) takes about 11 minutes on an iPad Air.
MagickQuantizeImages (mw, 256 ...
Search found 2 matches
- 2014-06-13T08:25:01-07:00
- Forum: Users
- Topic: Out of memory on iOS
- Replies: 3
- Views: 3784
- 2014-06-12T18:21:26-07:00
- Forum: Users
- Topic: Out of memory on iOS
- Replies: 3
- Views: 3784
Out of memory on iOS
Hi.
When I generate a huge animated GIF on iOS I get an out of memory error while adding the frames:
MagickWand* mw = NewMagickWand ();
MagickSetFormat (mw, "gif");
NSString* item;
for (item in contents) {
MagickWand* localWand = NewMagickWand ();
NSData* dataObj = UIImagePNGRepresentation ...
When I generate a huge animated GIF on iOS I get an out of memory error while adding the frames:
MagickWand* mw = NewMagickWand ();
MagickSetFormat (mw, "gif");
NSString* item;
for (item in contents) {
MagickWand* localWand = NewMagickWand ();
NSData* dataObj = UIImagePNGRepresentation ...