GPUImage
GPUImage copied to clipboard
PNG lose transparency after GPUImageBrightnessFilter
I'm trying to manipulate an UIImage brightness with GPUImageBrightnessFilter with the following code.
GPUImagePicture *source = [[GPUImagePicture alloc] initWithImage:_imgMask smoothlyScaleOutput:YES];
GPUImageBrightnessFilter *brightness = [[GPUImageBrightnessFilter alloc] init];
[source addTarget: brightness];
[brightness addTarget:GPUImageView];
[source processImage];
But the output image is generated without the original transparency. Am I missing something to generate the output image with the original transparency?
GPUImageViews currently do not support transparency. I need to add this as an option for those views.
This is the same as issue #315, so I'll close it as a duplicate of that.