摘要: /*** @title 读取图片文件将其转为二进制,再生成新的图片**/import java.awt.image.*;import java.awt.*;import java.io.*;import java.sql.Blob;import javax.imageio.*;public class test {/** * 转换byte数组为Image * * @param bytes Image的bytes数据数组 * @param filename 为要生成新的文件名 * @return boolean */public static boolean ByteToImage(byte[] 阅读全文
posted @ 2011-06-23 02:51 Lorn 阅读(3022) 评论(0) 推荐(0) 编辑