How can i work with Android EffectFactory Class?

后端 未结 2 1068
北海茫月
北海茫月 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

    0 讨论(0)
  • You can find the official sample project HelloEffects in android-sdk-windows\samples\android-17

    0 讨论(0)
提交回复
热议问题