bimjaku opened a new pull request, #412:
URL: https://github.com/apache/guacamole-server/pull/412

   Corrected translation values to RGB
   
   Old code produces encoded 8 bpp white color 0xFF
   
   R: 7*256 / 8 = 224
   G: 7*256 / 8 = 224
   B: 3*256 / 8 = 192
   
   New code produces
   
   R: 7*255 / 7 = 255
   G: 7*255 / 7 = 255
   B: 3*255 / 3 = 255
   
   Also for 15 bpp, 16 bpp ...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to