Bitmap size problem,
Members - Reputation: 100
Posted 08 April 2012 - 01:23 PM
This is what I'm using to load the image
this.bmp = BitmapFactory.decodeResource(this.game.getResources(),this.id);
System.out.println("Cannot load the image");
this.pixelsX = bmp.getWidth();
this.pixelsY = bmp.getHeight();
Also, if I load a 24x24 image, pixelsX & pixelsY get 18 each one.
Is this somethig decodeResource do by itself? I need it to be the right size for each bitmap.
Hope you can help me ;)
Members - Reputation: 154
Posted 10 April 2012 - 11:13 AM