Merge two bitmaps in android

前端 未结 4 2037
既然无缘
既然无缘 2020-12-05 08:23

I want to merge two bitmaps, here is my code

// Camera arg conversion to Bitmap
                    Bitmap cameraBitmap = BitmapFactory.decodeByteArray(arg0,         


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 08:48

    Please note that the BitmapDrawable(Bitmap) has been deprecated. Kinldy check this for the alternative.

    BitmapDrawable(Bitmap bitmap) This constructor was deprecated in API level 4. Use BitmapDrawable(Resources, Bitmap) to ensure that the drawable has correctly set its target density.

提交回复
热议问题