GPUImage-x icon indicating copy to clipboard operation
GPUImage-x copied to clipboard

How to get bitmap from a GPUImageView after applying a filter?

Open Dev-akks opened this issue 8 years ago • 0 comments

Hi I had applied a filter for beautify which is working awesome, but the problem is i can't get a bitmap of this filtered image. I searched the code and i got an method "captureAProcessedFrameData(final GPUImageFilter upToFilter, final int width, final int height,...)", which I checked the problem is that it has a native method which always returns a null for "byte[] resultData".

byte[] resultData = GPUImage.nativeSourceCaptureAProcessedFrameData(mNativeClassID, upToFilter.getNativeClassID()...);

this above mentioned method always returns null.

Please tell me to get the bitmap after applying a filter in an image.

Dev-akks avatar Feb 07 '18 10:02 Dev-akks