zocker-160 / pyQVNCWidget

VNC Widget for Python using PyQt5
GNU General Public License v3.0
14 stars 7 forks source link

adjust quality and such #8

Open atar-axis opened 4 months ago

atar-axis commented 4 months ago

Could you give me a pointer on how to adjust the quality of the transferred data? Best regards!

zocker-160 commented 4 months ago

there are no pointers in Python code so I don't know what to give you heh

Alright so the short answer is, that you simply can't because it is not implemented.

The long answer is, that this code is an afternoon hackjob to get VNC running in a QWidget, so I have currently only implemented the absolute minimum required to be compliant to RFC 6143, which means:

In order to reduce bandwidth usage, one could use RGB555 or RGB16 instead or implement ENC_TRLE or ENC_ZRLE. Latter would however probably add an external dependency for doing the decompression stuff.