Aborting MagickGetImagesBlob
Posted: 2013-06-28T13:34:11-07:00
My question is, how can i safely abort the MagickGetImagesBlob request.
I'm using the iOS port to generate animated GIFs. I create a background thread and add all the frames then i call MagickGetImagesBlob to get the resulting GIF. It can take up to 10 seconds for MagickGetImagesBlob to return the GIF so I would like the ability to halt execution of MagickGetImagesBlob and safely move on.
I have i tried DestroyMagickWand while its in the process of executing MagickGetImagesBlob which immediately crashes the app with the message "Assertion failed: (image->signature == MagickSignature), function SyncImage, file magick/image.c, line 3412" SIGABRT. I was hoping i could catch that and move on, but i have not found a way to recover from that. Any ideas?
I'm using the iOS port to generate animated GIFs. I create a background thread and add all the frames then i call MagickGetImagesBlob to get the resulting GIF. It can take up to 10 seconds for MagickGetImagesBlob to return the GIF so I would like the ability to halt execution of MagickGetImagesBlob and safely move on.
I have i tried DestroyMagickWand while its in the process of executing MagickGetImagesBlob which immediately crashes the app with the message "Assertion failed: (image->signature == MagickSignature), function SyncImage, file magick/image.c, line 3412" SIGABRT. I was hoping i could catch that and move on, but i have not found a way to recover from that. Any ideas?