Here is something very simple and handy. BufferedImage bimg = ImageIO.read(new File(filename)); int width = bimg.getWidth(); int height = bimg.getHeight();.
確定! 回上一頁