Hi, You can create a new Bitmap with the same size as your source images (300x300.) Then create a Canvas to draw on this Bitmap. Finally, all you have to do is first draw your image filled with color onto the Canvas, then draw your image with the hole. You can get fancier with the use of the PorterDuff Xfermodes but it should not be needed in this case.
On Wed, Jan 14, 2009 at 11:55 PM, The Spirit <[email protected]> wrote: > > HI. > I have two images. > The first one is 300x300 with a round transparent "hole" in the middle > (it is a png image). > Underneath, i want another image, which is the same size but > completely filled with color. > Can i now combine this two images to one so that i get one image, > which is the first image, only filled with color in the round "hole" > in the middle with the color of the second image? > Thanks > > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

