cats-oss / android-gpuimage

Android filters based on OpenGL (idea from GPUImage for iOS)
8.98k stars 2.26k forks source link

GPUImageMaskFilter? #71

Open joplaete opened 11 years ago

joplaete commented 11 years ago

Hi, is there something like the GPUImageMaskFilter on ios? https://github.com/BradLarson/GPUImage/blob/master/framework/Source/GPUImageMaskFilter.m trying to blend two images using a third one as an alpha for the blend (http://stackoverflow.com/questions/18477595/gpuimage-blend-two-images-with-mask-image) thanks

joplaete commented 11 years ago

hi, update: I added this filter https://github.com/joplaete/android-gpuimage/commit/36c7510bf07ebfaeae75abd607efe29699fe8bb7 seems to work for me.

SwordBearer commented 9 years ago

@joplaete hi,can you show me how to use GPUImageMaskFilter? i have a LUT file and a mask image ,how can get the mask effect?

NtcWai commented 8 years ago

@joplaete Hi, would you like to share with us some code, show the way using GPUImageMaskFilter ? Thank you