How to create a custom ColorEffect

丶灬走出姿态 提交于 2019-12-23 04:21:02

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!