问题
I simply want to know how could i create a custom ColorEffect. As we can set some effects like
EFFECT_AQUA
EFFECT_BLACKBOARD
EFFECT_MONO
EFFECT_NEGATIVE
EFFECT_NONE
EFFECT_POSTERIZE
EFFECT_SEPIA
EFFECT_SOLARIZE
EFFECT_WHITEBOARD
I want to create my own Color effect.
Camera.Parameters parameters = camera.getParameters();
parameters.setColorEffect(Camera.Parameters.EFFECT_AQUA); //like EFFECT_REDDISH
camera.setParameters(parameters);
来源:https://stackoverflow.com/questions/29672679/how-to-create-a-custom-coloreffect