问题
When I Set Some images of products in Imagelist and I set that Imagelist as LargeImageList of ListView for display of images. At that time all are blur in ListView. I don't what is exactly happed with this images.
All images quality are good. Even I set image without ListView then Quality is maintain with same image.
Here is the Image layout of my form and you can see images quality are degraded.
Click here for see image
foreach (var item in Data)
{
{
il.Images.Add("test1", image);
ListViewItem lvi = new ListViewItem();
lvOrderItem.Items.Add(lvi);
lvOrderItem.Items[i].Name = item.ItemID.ToString();
i++;
}
}
lvOrderItem.MultiSelect = false;
lvOrderItem.BorderStyle = BorderStyle.FixedSingle;
il.ImageSize = new Size(125, 150);
lvOrderItem.View = View.LargeIcon;
lvOrderItem.LargeImageList = il;
回答1:
This problem is discussed here. I'd recommend to store thumbnails together with original images and show it in in you image list. Also you can convert images on the fly.
来源:https://stackoverflow.com/questions/23950918/images-are-blurred-in-imagelist-with-listview-in-window-application