+ 6
.NET
Any VB.Net developer?? Can anyone explain me how to convert a picture to array of bytes??
3 ответов
+ 3
Private function pic_to_byte(byval pic as object)as btye()
Dim picbyte as byte()
Dim stream as new IO.memorysteam
pic.Save(stream, System.Drawing.Imaging.ImageFormat.bmp)
picbyte=stream.ToArray
Return picbyte
End sub
0
Can anyone send me .net course