반응형 android bitmap1 [Android] Bitmap 이미지 두 장 합치기 안드로이드 이미지를 작업하는 프로젝트에서 두 개의 비트맵 이미지를 붙여야 하는 경우 손쉽게 다음 코드를 통해서 구현이 가능합니다 private Bitmap[] listBitmap = new Bitmap[2]; 먼저 비트맵을 합치기 위해서 두장의 비트맵을 넣어줄 Bitmap 배열을 만들어줍니다 BitmapDrawable drawable = (BitmapDrawable)imageView.getDrawable(); Bitmap bitmap = drawable.getBitmap(); listBitmap[0] = bitmap; BitmapDrawable drawable1 = (BitmapDrawable)imageView1.getDrawable(); Bitmap bitmap1 = drawable1.getBitmap.. 2022. 9. 13. 이전 1 다음 반응형