How to create Lomo / Retro effects in previewing an Android camera?

Starting with Android 2.0, the camera API supports multiple ColorEffect (s).

The list can be found here, starting with Effect Aqua. http://developer.android.com/reference/android/hardware/Camera.Parameters.html#EFFECT_AQUA

The effect can be implemented as follows:

Camera.Parameters parameters = camera.getParameters(); parameters.setColorEffect(Camera.Parameters.EFFECT_AQUA); camera.setParameters(parameters); 

Besides those supported effects, I’m going to introduce the Lomo or Retro effect in my application. Can someone give some recommendations on how to provide additional effects for camera preview?

Code samples are welcome.

Thanks.

+6
source share
1 answer

Discussion of camera viewing formats from the Android development team .

+1
source

Source: https://habr.com/ru/post/886572/


All Articles