Skip to content

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

@Dev-akks

Description

@Dev-akks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions