字符串转成图片


    package com.filingweb;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

import com.sun.imageio.spi.OutputStreamImageOutputStreamSpi;

import sun.misc.BASE64Decoder;

public class text22 {

	public static void main(String[] args) throws IOException {
		
		//加密的BASE64字符串
		String newmsg="**********";
		byte[]  b=null;
		BASE64Decoder base=new BASE64Decoder();
		//解密
		b=base.decodeBuffer(newmsg);
		//处理数据
		for(int i=0;i

你可能感兴趣的:(字符串转成图片)