BufferedImage srcImage = null;
srcImage = ImageIO.read(new File(srcImagePath));
int srcImageHeight = srcImage.getHeight();
int srcImageWidth = srcImage.getWidth();
时间: 2024-10-13 23:27:33
BufferedImage srcImage = null;
srcImage = ImageIO.read(new File(srcImagePath));
int srcImageHeight = srcImage.getHeight();
int srcImageWidth = srcImage.getWidth();