File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Changing parts of Bitmap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Changing parts of Bitmap" Watch "Changing parts of Bitmap" New topic

Changing parts of Bitmap

Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
I have 2 same images but one is the coloured version of the other.

Now what i want to achieve is the following

User draws Circle , i want to show the image inside the circle as coloured and one outside the Circle as black and white only.

i did canvas.draw for coloured and and black and white so the black and white is over the coloured , now i want to make above black and white thing transparent for inside circle and make the lower coloured
picture to be visible . I am unable to do the same.

Please assist

I agree. Here's the link:
subject: Changing parts of Bitmap
jQuery in Action, 3rd edition