commit | 50b473c96a289f10f57ee3e079f0b90a9d2c5727 | [log] [tgz] |
---|---|---|
author | Paul Pazderski <paul-eclipse@ppazderski.de> | Mon Nov 16 23:15:12 2020 +0100 |
committer | Niraj Modi <niraj.modi@in.ibm.com> | Fri Jan 08 05:51:21 2021 -0500 |
tree | 62f7cf9d27eb2c7dc00ca2864d37fed255a76b17 | |
parent | 5e5655dc5644e5d195bbec82eaf39176fb324241 [diff] |
Bug 566545 - [Win32] Image may reduce quality of 8-bit ImageData Creation of an Image from existing ImageData can result in reduction of the actual image quality. Image will convert the data into a format which Windows can understand. An 8-bit direct color image was always converted into a 16-bit direct color image. The Windows compatible 16-bit image is fixed to use 5 distinct bits for each channel red, green and blue. However the ImageData used to create the Image does not apply such restrictions. It is possible to create an 8-bit ImageData where each color use the same 8 bit which results in a gray-scale image. Such an image cannot converted into 16-bit because if each channel use 8 distinct bits it requires 24 bit to encode the full range of 256 different grays the source data can contain. Change-Id: Ic557068a1d72e5fcd2e3458c8ade6917e01e6db7 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!