Why doesn't the code below work? It displays test1.jpg just fine (Image1 is an TImage that is put at the form at design-time), but it refuses to display test2.jpg. Do I have to reset (in some way) or even DESTROY the TJPEGImage between these operations?
procedure TForm1.FormShow(Sender: TObject);
JPEG : TJPEGImage;
JPEG := TJPEGImage.Create;
All help appreciated!