摘要:
// 对字节数组字符串进行Base64解码并生成图片public static boolean GenerateImage(String imgStr,OutputStream out) {if (imgStr == null) // 图像数据为空return false;BASE64Decoder decoder = new BASE64Decoder();try {// Base64解码byte[] b = decoder.decodeBuffer(imgStr);for (int i = 0; i < b.length; ++i) {if (b[i] < 0) {// 调整异 阅读全文
posted @ 2013-03-03 12:11
Blacksky
阅读(371)
评论(0)
推荐(0)