Subject | IB_Image and JPG's |
---|---|
Author | Frank |
Post date | 2005-07-06T09:50:57Z |
How can I extend this code snippet to load not only BMP but also
JPEG's ?
if OpenPictureDialog1.Execute then
begin
IB_Image1.Picture.LoadFromFile(OpenPictureDialog1.FileName);
end;
JPEG's ?
if OpenPictureDialog1.Execute then
begin
IB_Image1.Picture.LoadFromFile(OpenPictureDialog1.FileName);
end;