资 源 简 介
public static void createImage() throws IOException{
int[] rgb = new int[3];
File file = new File("D:\AliWorkbenchData\timg.jpg");
BufferedImage bi = null;
try {
bi = ImageIO.read(file);
} catch (Exception e) {
e.printStackTrace();
}
int width = bi.getWidth();
int height = bi.getHeight();
int minx = bi.getMinX();
int miny = bi.getMinY();
BufferedImage bii = new BufferedImage(wid