Mega Code Archive

 
Categories / Delphi / Graphic
 

Set transparent color of image

Title: Set transparent color of image Image component has a Transparent property. Set this property to True and your background color will be the same as color of your form. procedure TForm1.FormCreate(Sender: TObject); begin Image1.Transparent:=True; Image1.Picture.LoadFromFile('picture.bmp'); end;