Java examples for 2D Graphics:Image
Getting a Sub-Image of an Image
import java.awt.image.BufferedImage; public class Main { public static void main(String[] argv) { // From an Image BufferedImage bufferedImage = null; // From a BufferedImage bufferedImage = bufferedImage.getSubimage(x, y, w, h); } }