Вопрос

I want to use EffectFactory.EFFECT_LOMOISH in my android application. I want to apply this effect on my bitmap but don't know how to do it. I referred both package-summery and EffectFactory links, btu couldn't get much idea. Can anybody guide me to implement this functionality with bitmap. Thank you.

Это было полезно?

Решение

This probably isn't the answer you want to hear, but (roughly speaking) you can't. The EffectFactory/Effects are not meant to be used with canvas/bitmaps, but are to be applied to OpenGL textures.

Look at the Android sample (this link doesn't give individual details, but you can create it in Eclipse via new project from sample option) project HelloEffects.

HelloEffects shows how you can use these Effects.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top