Commit Graph

14 Commits

Author SHA1 Message Date
Matias Fernandez
2bc431f0a8 - Improved efficiency and readability of the RfbBitmap configuration logic. Refactored redundant code blocks for different pixel format (bpp) configurations into a single, streamlined method. This change enhances maintainability and clarity of the bitmap configuration process.
- Added cursor pseudo encoding support.

- Added Windows support for cursor image capturing in `get_cursor_image` method. Implemented Windows-specific logic using the `win32gui`, `win32ui`, and related libraries to capture the current cursor image, enhancing the cross-platform capability of the application.

- Fixed issues in `get_bitmap` method for handling different bpp formats. Specifically addressed the processing logic for 16 bpp (BGR565) format, ensuring that the image conversion and rendering are handled correctly for VNC clients expecting this format.

- Added initial Tight encoding support.

- Updated the `send_image` method in the Tight encoding class to correctly handle JPEG and ZLIB compression. This includes proper signaling to the client about the type of compression used (JPEG or ZLIB) and ensuring that the data is formatted and sent according to the Tight encoding specifications.

- Added checks and conversions in `send_image` to handle different image modes (like RGBX and RGBA) and convert them to the appropriate format (RGB) before compression and transmission.

- Implemented a more robust and accurate method for determining when to use JPEG compression in Tight encoding based on the unique color count and image characteristics.

These updates significantly improve the functionality, stability, and compatibility of the VNC server, particularly in handling different pixel formats and encoding methods.
2023-12-06 09:21:26 -03:00
Matias Fernandez
76e309ef08 Added LICENSE.md 2022-05-19 11:15:38 -04:00
Matias Fernandez
5a6679b11c Deleted pyc cache objects from git 2019-09-11 22:30:10 -03:00
Matias Fernandez
01ee6d5361 Fixed a typo in README 2019-09-11 22:28:09 -03:00
Matias Fernandez
7218e7a8b7 Cleanup 2019-09-11 22:27:01 -03:00
Matias Fernandez Lillo
104fefd4c0 Update README.md 2019-09-12 01:09:42 +00:00
Matias Fernandez
3fd021ca02 borrado: winservice.py 2019-09-11 22:08:11 -03:00
Matias Fernandez
488bfdca7b Merge branch 'master' of gitlab.com:radixcl/pyvncs 2019-09-11 22:06:30 -03:00
Matias Fernandez
aad1e08f6a Addded README
Code cleanup
2019-09-11 22:00:39 -03:00
Matias Fernandez Lillo
bd970335ad Merge branch 'experimental' into 'master'
Experimental

See merge request radixcl/pyvncs!1
2019-07-30 02:57:12 +00:00
Matias Fernandez
a6327060f9 Mejoras en general 2019-07-29 22:54:48 -04:00
Matias Fernandez
57623a6933 Testing for windows service 2019-04-09 20:34:12 -04:00
Matias Fernandez
4add215ecd Structural changes and code cleanup 2018-11-20 17:27:20 -03:00
Matias Fernandez
f4c77886bd Initial commit 2018-03-27 10:45:54 -03:00