摘要:
try { String targetImg = "D:/Blue hills.jpg";// String pressImg = "D:/20130311220300.jpg"; String pressImg = "D:/html_original.jpg"; File f1 = new File(targetImg); Image src = ImageIO.read(f1); int width = src.getWidth(null); int height = src.getHeight(null); BufferedIm 阅读全文