You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using PINRemoteImage's processorBlock to download an image from a URL, and then processing it using Core Image. We return UIImage(ciImage: processedCoreImage) in the processorBlock.
However we're hitting an NSAssert in PINRemoteImage during cache cost calculation:
NSAssert(container.image == nil || imageRef != NULL, @"We only cache a decompressed image if we decompressed it ourselves. In that case, it should be backed by a CGImageRef.");
It seems like this only supports UIImage that is CGImage backed, which is not the case with Core Image. Any help or guidance would be appreciated, thanks!
The text was updated successfully, but these errors were encountered:
We are using PINRemoteImage's processorBlock to download an image from a URL, and then processing it using Core Image. We return
UIImage(ciImage: processedCoreImage)
in the processorBlock.However we're hitting an NSAssert in PINRemoteImage during cache cost calculation:
It seems like this only supports UIImage that is CGImage backed, which is not the case with Core Image. Any help or guidance would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: