Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create Lomo / Retro effects in Android Camera Preview?

Since Android 2.0 onwards, the camera API has supports few ColorEffect(s).

The list could be found here, from Effect Aqua onwards. http://developer.android.com/reference/android/hardware/Camera.Parameters.html#EFFECT_AQUA

The effect could be implemented as follows:

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

Apart from those supported effects, I am thinking to introduce Lomo or Retro effect in my application. Can anyone give some guidance on how to provide extra effects for the camera preview?

Code samples will be greatly appreciated.

Thanks.

like image 345
bitbybit Avatar asked Apr 24 '11 15:04

bitbybit


1 Answers

Camera preview formats discussion from android-developers group.

like image 158
Walter K Avatar answered Oct 15 '22 00:10

Walter K