I'm trying to merge two bitmaps, while the one on top has
transparency. I'm using something like this:
int[] srcPixels = new int[3600];
bitmapWithTransparency.getPixels(srcPixels, 0, 60, 0, 0, 60, 60);
backgroundBitmap.setPixels(srcPixels, 0, 60, 0, 0, 60, 60);
I've tried various image formats and various bitmap configurations,
and I always get black in the resulting merged image where I would
like transparency.
Any help is appreciated.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
To unsubscribe, reply using remove me as the subject.