Hi,

I create a Bitmap from a Drawable and than manipulate (change Color)
of the Drawable,
But when I like to transform this new looking BitmapDrawable into a
Bitmap again
I do not see any Changes?

Bitmap BitmapOrg = BitmapFactory.decodeResource
(resources,R.drawable.mydaysminipic_td);
BitmapDrawable bmd = new BitmapDrawable(mutablePhoto);
bmd.setColorFilter(0xffff00ff,Mode.SRC_ATOP);

Bitmap NewBitmap = bmd.getBitmap();

NewBitmap still looks like the BitmapOrg

How can I manipulate finaly a Drawable (changing the Color of all set
Pixels) and save it
(with all changes) into a new Bitmap?

Thanks
Chris

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to