Is there any easier and shorter way to convert CGImage
to gray scale than
- turning it to
CIImage
- apply
CIFilter
- turn to
NSBitmapImageRep
and then back toCGImage
?
Is there any easier and shorter way to convert CGImage
to gray scale than
CIImage
CIFilter
NSBitmapImageRep
and then back to CGImage
?