manywaypark's Blog
개발, 검색, 함수

'변환'에 해당되는 글 1건

  1. 2012.06.13 [android] drawable을 bitmap으로 변환하기

그냥 casting하면 된다.

Bitmap bitmap = ((BitmapDrawable)d).getBitmap();


refs:

http://stackoverflow.com/questions/3035692/how-to-convert-a-drawable-to-a-bitmap

http://sdw8001.tistory.com/21 -> bitmap, canvas, drawable 개념


happy hacking'

1 
분류 전체보기 (306)
잡담 (20)
함수형 언어 (65)
emacs (16)
java (18)
tips & tricks (154)
사랑 (1)
가사 (0)
독서 (4)
mobile (6)
비함수형 언어 (2)

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

04-19 04:15