AdvSmoothImageListBox

Hi,
I have an issue with blurry images. It can be reproduced using the Image Browser Demo (of AdvSmoothImageListBox). Add a button and an OpenPictureDialog and add following code:

procedure TForm1.Button2Click(Sender: TObject);
begin
  if OpenPictureDialog1.Execute then
  begin
    with AdvSmoothImageListBox1.Items.Add do
    begin
      Enabled := True;
      Visible := True;
      Image.LoadFromFile(OpenPictureDialog1.FileName);
      Caption.Text := OpenPictureDialog1.FileName;
    end;
  end;
end;

If you add an image using the code above, doubleclick on the image shows a blurry (expanded) image.

Regards,

Filip.

Hi, 


Yes, the image that is loaded is stretch drawn when zooming, so the image will be blurred.
You can fix this by setting the ItemAppearance ItemWidth and ItemHeight property to a larger value, load the image
and then set them back to the original values. The size of the image is based on these properties.

Kind Regards, 
Pieter