Im trying to send live screenschots over winsock.

I toght about making a screenshot saving as a jpg (bmp is way to big) and send it over as a file.But true JPEG compresion is kinda complicated.
VB it self will only save bmp properly.

So is there a better way to do it?