Poor image quality in ListView

I populate the ListView with elements and add images from the ImageList (in the constructor). Images, however, are displayed in very poor quality, although I set the image size in ImageList to their original size (16x16). Take a look:

Terrible image quality http://balazsbotond.hu/downloads/listview-icons.png

Original Images - Beautiful, sharp PNG icons. What can I do?

+3
source share
3 answers

Well, that was pretty easy. Just don't resize the image in ImageList after adding images :)

+2
source

Try this line of code.

ImageList1.ColorDepth = ColorDepth.Depth16Bit;
+6
source

colordepth , , PNG (, Depth32Bit), .

+4
source

Source: https://habr.com/ru/post/1720959/


All Articles