62,041
社区成员
发帖
与我相关
我的任务
分享
String data = getincode;
System.Drawing.Image img = (System.Drawing.Image)qrCodeEncoder.Encode(data);
Context.Response.ClearContent();
Context.Response.ContentType = "image/gif";
img.Save(Context.Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);
Response.Write(img); //输出到浏览器