How to Implement GPUImageMaskFilter using GPUImage
问题 I need to Cut from the Full Image using the mask and created the masked Image. + = I tried the following: UIImage *imgMask = [UIImage imageNamed:@"Mask.png"]; UIImage *imgBgImage = [UIImage imageNamed:@"Full.png"]; GPUImageMaskFilter *maskingFilter = [[GPUImageMaskFilter alloc] init]; GPUImagePicture * maskGpuImage = [[GPUImagePicture alloc] initWithImage:imgMask ]; GPUImagePicture *FullGpuImage = [[GPUImagePicture alloc] initWithImage:imgBgImage ]; [maskGpuImage addTarget:maskingFilter];