Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Dev-akks opened this issue Feb 7, 2018 · 0 comments
Open

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

Dev-akks opened this issue Feb 7, 2018 · 0 comments

Comments

@Dev-akks
Copy link

Dev-akks commented Feb 7, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant