Remove white background from masked image in android

 ̄綄美尐妖づ 提交于 2019-12-12 02:29:55

问题


I want to crop a bitmap in polygon shape drawn above that bitmap. I'm using masking of bitmap to do this. The operation succeeds well, unfortunately the resulted bitmap after masking has a white background in cropped area,as you can see in the image:

And my mask that is created runtime by dragging rectangle around image and creating a polygon shape on above the image is as below :

I want to remove this unwanted white background. Does any one has idea how could I do this. Any clue or help about how can I do is greatly appreciated. Thanks in advance.

来源:https://stackoverflow.com/questions/18502946/remove-white-background-from-masked-image-in-android

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