/ Published in: Java
Expand |
Embed | Plain Text
{ int width = bi.getWidth() / scale; int height = bi.getHeight() / scale; for(int i=0; i<width; i++) for(int j=0; j<height; j++) biScale.setRGB(i, j, bi.getRGB(i*scale, j*scale)); return biScale; }
You need to login to post a comment.
