GPUImage-x
GPUImage-x copied to clipboard
How to get bitmap from a GPUImageView after applying a filter?
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.