[VB.NET] Blob数据损坏了PNG图像 [英] [VB.NET] Blob data corrupt of PNG image

查看:66
本文介绍了[VB.NET] Blob数据损坏了PNG图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我这里有一个查询。为什么我的PNG数据没有显示如果我从内存流中更新字节?如果我使用INSERT语句,PNG图像可以查看..如果我使用UPDATE语句替换当前的BLOB数据,它将在我的WinForm上显示黑色图像..





*更新JPG文件,它运行正常。更新PNG,它显示更新,但何时查看,它看起来不准确。



请与我分享您的想法或经验。谢谢

Hi all,

I have one inquiry here. Why my PNG data not showing IF I update the byte from memory stream? If I use INSERT statement, the PNG image can be view..if I use UPDATE statement to replace the current BLOB data, it will show black image on my WinForm..


* Update JPG file, it work fine. Update PNG, it show updated but when to view, it not appear as exact.

Please share your idea or experience to me. Thanks

推荐答案

这篇关于[VB.NET] Blob数据损坏了PNG图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆