+ 6

.NET

Any VB.Net developer?? Can anyone explain me how to convert a picture to array of bytes??

12th Nov 2018, 4:50 PM
Keerttik Titan
Keerttik Titan - avatar
3 Answers
+ 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
13th Nov 2018, 7:26 PM
Tiny
0
Can anyone send me .net course
25th Feb 2022, 11:23 AM
Harish
Harish - avatar