Is there a way to alter a bitmap so that all but the center circle is transparent?
Eg http://art.ngfiles.com/images/107000/107057_shikashi_transmutation-circle.jpg (not my image, just found it on google) where the black on the outside of the outer ring is transparent?
The goal of this is to have a widget that downloads a image and displays the circle image showing the homescreen in the background.
one way I was thinking about achieving this is to overlay a 'mask' image in a unused color then to make that color transparent, however I'm not sure how to achieve the merging of two images and changing one color into another after the merge. (currently doing similar to this for the actual app where the mask is just another imageview ontop of the downloaded image and is the same color as the background).
I've looked into Accelerated surfaces and few other libs but they ether had too much stuff for me to find what i needed, or to complex for using it on a widget (or at least for me to use it in a widget ><'')
Thank you for reading.
Eg http://art.ngfiles.com/images/107000/107057_shikashi_transmutation-circle.jpg (not my image, just found it on google) where the black on the outside of the outer ring is transparent?
The goal of this is to have a widget that downloads a image and displays the circle image showing the homescreen in the background.
one way I was thinking about achieving this is to overlay a 'mask' image in a unused color then to make that color transparent, however I'm not sure how to achieve the merging of two images and changing one color into another after the merge. (currently doing similar to this for the actual app where the mask is just another imageview ontop of the downloaded image and is the same color as the background).
I've looked into Accelerated surfaces and few other libs but they ether had too much stuff for me to find what i needed, or to complex for using it on a widget (or at least for me to use it in a widget ><'')
Thank you for reading.