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NgZ9+f6V6CoQjsjO42VfLl2qTgY6/Suj2cU7AJKoQ7QM8A8+4puKixDKHpohDT1rJ7lCUgCgAoAKACgAoAKACgD//2Q==‘>
上面的img标签用base64数据显示一张图片
base64转文件流时注意去掉 data:image/jpeg;base64,
标签:
原文地址:http://www.cnblogs.com/gaocong/p/5677583.html