如何将图像转换为字节格式? [英] How to convert image into byte format?
本文介绍了如何将图像转换为字节格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< Image x:Name =ListImageHeight =500Width =400/>
我使用网络捕获图像来了还使用银光裁剪图像并将图像存储到图像控制中,所以请问我如何从此图像控件中获取字节,因为我已将此图像添加到数据库中,因此我需要此图像中的字节,所以如果有任何想法让我知道。
<Image x:Name="ListImage" Height="500" Width="400" />
I have capture image using web came and also crop image using silver light and store image into image control so please how can i get byte from this image control because i have add this image to database so i have need byte from this image so if any idea so let me know.
推荐答案
谷歌帮助你很多
这里有一些链接...
http://stackoverflow.com/questions/1958470/ silverlight-image-to-byte [ ^ ]
http://www.eggheadcafe.com/community/xaml/56/10180625/convertin g-an-image-into-a-byte-array-in-silverlight-4.aspx [ ^ ]
http:// social。 msdn.microsoft.com/Forums/en-US/wpf/thread/8327dd31-2db1-4daa-a81c-aff60b63fee6/ [ ^ ]
Google helps you a lot
Here are some links ...
http://stackoverflow.com/questions/1958470/silverlight-image-to-byte[^]
http://www.eggheadcafe.com/community/xaml/56/10180625/converting-an-image-into-a-byte-array-in-silverlight-4.aspx[^]
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/8327dd31-2db1-4daa-a81c-aff60b63fee6/[^]
这篇关于如何将图像转换为字节格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文