yackle / CLImageEditor

MIT License
2.22k stars 574 forks source link

Doesn't consider CIImage backed image #189

Closed bigship closed 7 years ago

bigship commented 7 years ago

Directly access UIImage 's CGImage property may result undesired result. Because UIImage may come from CIImage, if that's the case, then self.CGImage is nil. We can add a check, if self.CGImage is nil, then create a CGImage from it's backing CIImage.

yackle commented 7 years ago

Merged, thanks!