initWithCIImage:
Initializes and returns an image object with the specified Core Image object.
- (id)initWithCIImage:(CIImage *)ciImage
Parameters
- ciImage
- The Core Image object.
Return Value of [UIImage initWithCIImage]
An initialized
UIImage
object, or nil
if the method could not initialize the image from the specified data.
Example of [UIImage initWithCIImage]
CIImage *ciImage = [UIImage imageNamed:@"test.png"].CIImage;
UIImage *uiImage = [[UIImage alloc] initWithCIImage:ciImage];