When displayed either on Button
or on ListView
, 32-bit images in a 32-bit ImageList
are not displayed correctly. There are some black translucent pixels on the edge of the pictures (which have Alpha channel like PNG).
Also, pictures are damaged and quality is downgraded with lines over them (like when you resize a picture without resampling it).
Inserted images are in 32-bit quality and have same dimensions as ImageList
images.
I tried to put same images on Button
by using Resources files
and that works, but for ListView
, I have to use ImageList
-- which don't works well.
Is there memory leaks or known issues related to 32-bit ImageList
?
This problem only happens when you import (32-bit 16x16) ICO file. If you import a 32-bit 16x16 PNG file, there is no issue.
Now you known!