Bitmap imgBack = BitmapFactory.decodeResource(getResources(), R.drawable.sky);
  imgBack = Bitmap.createScaledBitmap(imgBack, width, height, false);


Bitmap 관련 API

http://developer.android.com/reference/android/graphics/BitmapFactory.html

http://developer.android.com/reference/android/content/res/Resources.html

http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html

 

구현

http://mainia.tistory.com/468

http://chiyo85.tistory.com/7

 

게임관점에서 본 Bitmap

http://www.google.co.kr/url?sa=t&rct=j&q=bitmapfactory%20api&source=web&cd=5&ved=0CGEQFjAE&url=http%3A%2F%2Fsgap.springnote.com%2Fpages%2F5651353%2Fattachments%2F3262889&ei=X1gWT6iuB4eJmQWT9oHAAw&usg=AFQjCNEKD0mDoGngeA2mN0iIm4v9jo2w2Q

Posted by 김용환 '김용환'

댓글을 달아 주세요