本文介绍了在vb中从文件写入/读取图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好所有访客 我在将图像文件写入vb中的文件时遇到问题. 我在D:\ images \ myimg.jpg上有一个图像文件,并且我想使用vb将我的图像(myimg.jpg)写入文件(我写入图像文件而不是图像路径) 有人知道我如何在vb中将图像写入文件吗? 谢谢
Hi all visitors i have problem with write image file to file in vb. i have an image file on D:\images\myimg.jpg and i want to write my image(myimg.jpg) to file using vb(i write image file not path of image) Anybody know to how i can write image to file in vb? Thanks
推荐答案您需要使用System.IO.ReadAllBytes和System.IO.WriteAllBytes函数. msdn.microsoft/en-us/library/system. io.file.readallbytes.aspx [ ^ ] U need to Use System.IO.ReadAllBytes and System.IO.WriteAllBytes function. msdn.microsoft/en-us/library/system.io.file.readallbytes.aspx[^]
您可以看到此链接 点击 you can see this links Click
更多推荐
在vb.net中从文件写入/读取图像
发布评论