C
Craig Hardcastle
Hi,
im writing a program that sends a video stream to a remote pc. I've
managed to get the bitmap data from the piture box control, via Bob
Nicholls earlier post.
My problem now is that the data is too big.
The code that Bob Nicholl did seems to convert the image to a 24bit
bmp, which is fine if all you want is to save it, but when it comes to
sending it over the net its just too big. As the images sizes i want
to send are 160x120 to 320x240.
So my question to you brainy lot is that seen as i have the bmp data
stored as bytes, is there anyway to convert this data into a jpeg? If
so then how? and if you have any codes samples that would be very
helpful.
I've searched google and can't seem to find the answer, so hopefully
someone out there has the answer.
Oh one final point, i'm programming in VB.NET!
Thanks,
Craig.
im writing a program that sends a video stream to a remote pc. I've
managed to get the bitmap data from the piture box control, via Bob
Nicholls earlier post.
My problem now is that the data is too big.
The code that Bob Nicholl did seems to convert the image to a 24bit
bmp, which is fine if all you want is to save it, but when it comes to
sending it over the net its just too big. As the images sizes i want
to send are 160x120 to 320x240.
So my question to you brainy lot is that seen as i have the bmp data
stored as bytes, is there anyway to convert this data into a jpeg? If
so then how? and if you have any codes samples that would be very
helpful.
I've searched google and can't seem to find the answer, so hopefully
someone out there has the answer.
Oh one final point, i'm programming in VB.NET!
Thanks,
Craig.