首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 生成图片代码

生成图片代码

  • 资源大小:307.94 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: java 代码 图片 生成

资 源 简 介

 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

文 件 列 表

canveas
src
lib
bin
.classpath
.project
.settings
org.eclipse.jdt.core.prefs
.settings
VIP VIP
0.237554s