unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls,jpeg; type TForm1 = class(TForm) btn3: TButton; img1: TImage; procedure btn3Click(Sender: TObject); private { Private de…