Reputation: 3228
I trying to Convert bitmap to a Path in Android something like this
Bitmap alpha = bitmap.extractAlpha();
Path path = BitmapToPath(alpha);
Upvotes: 3
Views: 402
Reputation: 11
Do you want to draw on canvas like that or do you want to extract the path? If you want to draw on canvas you can achieve that using porterduff mode
Upvotes: 1