Error during drawdown during photo upload: CreateWrappedSurface () could not be executed for CGImageRef supported by dataprovider

I have an application that I create that uploads images to a server. I used GPUImage and the GKImagePicker libraries when cropping an image and adding filters. At the moment I am not adding any filters, so I do not think that filters are a problem. I think the problem is in the GKImagePicker library. I get this error:

CreateWrappedSurface () error for supported Dataprovider CGImageRef.

This worked before I upgraded to Xcode 7 recently.

I saw this other message in StackOverflow: Receiving a message in the console: "CreateWrappedSurface () failed for CGImageRef with datalog support"

I tried to make the changes made to this post using UIGraphicsBeginImageContextWithOptions (bounds, NO, 1.0f); line, but this did not fix my problem. I think I might be missing out on something else.

Any help would be greatly appreciated.

thanks

+4
source share

Source: https://habr.com/ru/post/1621212/


All Articles