How can i work with Android EffectFactory Class?

后端 未结 2 1070
北海茫月
北海茫月 2021-02-08 10:25

I tired to Develop a sample application with image processing, in my app i need to add some color effects (Grayscale, sepia) over my bitmap i referred the developer

2条回答
  •  深忆病人
    2021-02-08 11:07

    try:

    Effect mEffect= effectFactory.createEffect(EffectFactory.EFFECT_SEPIA);
    

    Then use GLSurfaceView to show the rendered effects, here is an example of what you need

提交回复
热议问题