I am trying to make an Android application that lets the user take a picture with lomo effect. The thing is, I want to make the camera preview the image WITH the effect automatically, not take a picture then apply the effect.
I learned how to use CameraPreview on this link. I also found out about EfectFactory class here, which has the effect I want. The problem is, I don't know how to apply efectfactory class on a CameraPreview.
I googled this but didn't find the answer I was looking for.
For the code, I am using the same as how my first link provided.
Can anyone help me on this problem?
Thanks in advance
You can do below thing:
1) Get bitmap from captured image in GLS Surface view
and then
2) Apply effects using Effect Factory class.
More detail use this link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With