如何在picturebox中显示数据:image / gif; base64 [英] How to display data:image/gif;base64 in picturebox
本文介绍了如何在picturebox中显示数据:image / gif; base64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows窗体中转换了图像
i have converted image in windows Form
@"data:image/gif;base64," + Convert.ToBase64String(File.ReadAllBytes(Path));
但如何在图片框中显示图片
but how to display image in Picture box
推荐答案
你可以试试
You could try
pictureBox.Image = new Bitmap(Path);
希望这有帮助,
Fredrik
Hope this helps,
Fredrik
这篇关于如何在picturebox中显示数据:image / gif; base64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文