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
I’m incorporating Mantis into a simple SwiftUI app, and testing it on an iPhone 15 Pro (both real device and simulator). On both devices, running iOS 17.3.1, I get the following error when Mantis tries to transform the image (usually just a simple rect crop):
assertionFailure: croppedImage should not be nil
This assertion fails in CropView.addImageMask(to:), line 676
It appears related to this warning that is printed to the console when the CGContext is created on line 47 in the CGImage.transformedImage extension defined in CGImageExtensions:
CGBitmapContextInfoCreate: CGColorSpace which uses extended range requires floating point or CIF10 bitmap context
Any tips on what might be going wrong here? This happens when I use many of the sample images in the stock iPhone 15 Pro simulator, as well as many of the images on my test iPhone.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I’m incorporating Mantis into a simple SwiftUI app, and testing it on an iPhone 15 Pro (both real device and simulator). On both devices, running iOS 17.3.1, I get the following error when Mantis tries to transform the image (usually just a simple rect crop):
assertionFailure: croppedImage should not be nil
This assertion fails in CropView.addImageMask(to:), line 676
It appears related to this warning that is printed to the console when the CGContext is created on line 47 in the CGImage.transformedImage extension defined in CGImageExtensions:
CGBitmapContextInfoCreate: CGColorSpace which uses extended range requires floating point or CIF10 bitmap context
Any tips on what might be going wrong here? This happens when I use many of the sample images in the stock iPhone 15 Pro simulator, as well as many of the images on my test iPhone.
Thanks...
Ben
Beta Was this translation helpful? Give feedback.
All reactions