Meltedd / HVNC

Standalone HVNC Client & Server | Coded in C++ (Modified Tinynuke)
403 stars 123 forks source link

Convert BITMAP to JPEG for speed #11

Closed graysuit closed 2 years ago

graysuit commented 2 years ago

When frame is small, it get quickly transmited from tcp connection. It solves: https://github.com/Meltedd/HVNC/issues/10

I didn't removed anything. Just added some imports, variables and one function and replaced Funcs::pGetDIBits with BitmapToJpg

Before: 3mb Now: 100kb

Meltedd commented 2 years ago

The image compression works great, pull request has been merged 👍