c# - Preventing color bleeding with StateImageList on TreeView -
Is there any color bleeding while using State ImageList with a Windows Farm Tree Weave?
Using the same image list assigned to TreeView's ImageList property, the correct rendering can be seen by the following image.
leaving state images Given that normal images are correct, all images are obtained from the same imagelist example.
Update:
I converted the images into 16 color indexed palettes. It does not seem that it is either slightly better, but still not acceptable.
The document at .cd.php .stateImageList states:
.NET Framework version 1.1 or later, the default depth 8 Bit is
It seems that this 'default' change is not allowed. Okay, you can change this, but it does not do any good work.
Considering the code in the reflector, when the state imagery property of TreeView is set, a new image list is created internally, this image list uses the default value for color depth and Since you can not change the color depth after making the imaginative, it is very much guaranteed that State Imagery can only be displayed at the default color depth.
Edit: I think I have come to know that what is happening here is playing differently in colorful depths with the images of my shaded circles. In fact, when I take a decent image and convert it to 4-bit color, I get results, which look like pictures from State ImageList. Regardless of the '8-bit' note in the documentation, it appears that the State ImageList is still using a 4-bit color depth (the old, old 16-color standard) as the default.
This is when I use 4-bit images to begin with the imaginative, so that I do not get any change between the performance of the imaginative and the state physicist.
I created this image using the image The old Windows 16-color palette looks pretty awesome, but it has not changed in the state-wideist.
Comments
Post a Comment