Transparent bitmap

I have a problem with bitmaps. I want to remove the black background that the bitmap has.

I create a bitmap bitmap from a byte array .. and then set the bitmap to BitMapField .. but the image shown has a black background.

+2


source to share


2 answers


Could you post some code? Without a specific code, we cannot help you.

If you haven't already, you should use createAlpha

from . Bitmap



Further explanation and help for common issues can be found in the Blackberry Support Forum .

+6


source


Use this constructor to create a bitmap - Bitmap(int type, int width, int height)

where the type should beBitmap.ALPHA_BITDEPTH_8BPP



+2


source







All Articles