UnableToOpenPixelCache on iOS 8

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
che1404
Posts: 12
Joined: 2014-11-04T02:39:27-07:00
Authentication code: 6789

UnableToOpenPixelCache on iOS 8

Post by che1404 »

Hi all,
I have implemented an image processing pipeline based on imagemagick, using the C API for iOS.
One of the steps is a montage command. It consumes a lot of memory. In order to avoid memory crashes, I have had to use the "-synchronize -limit memory 5MB" options. This was working very well on iOS 7, but when I have upgraded to iOS 8 I'm getting the following error:

Code: Select all

"UnableToOpenPixelCache `/var/mobile/Containers/Data/Application/72BC713E-B6A0-4E19-93EC-DB4C40C7C50A/Library/Caches/TextureCache/panel0flipped11.jpg': Operation not permitted @ error/cache.c/OpenPixelCache/3683"
I don't know for sure, but it could be related with the fact that the file system layout of app containers has changed on disk on iOS8.
References:
http://hetzel.net/2014-09-18/ios-8-folder-structure/
http://forums.xamarin.com/discussion/24 ... d-in-ios-8

Is there anyone experiencing these issues, or have some idea on how could I solve them?

Thanks,
Robert.
Post Reply