[SOLVED] What is the best way to load a .bmp/.png/.jpeg file in TImage? lazarus / 39-Graphics ---------------------------------------------------------------------- avv210 · 2021-12-19 13:20 Hi, I know this is silly question. I want to create a steganography project. But, how do I open a bitmap picture using TImage? I am using radio button as an index of load-option. So my goal is, one load button, and multiple option in radio group. What is the best way to open a bitmap, jpeg, or png file? Thank you. EDIT: The example is in the attachment. ---------------------------------------------------------------------- howardpc · 2021-12-19 13:51 The attached project gives you an idea. ---------------------------------------------------------------------- zoltanleo · 2021-12-19 22:27 Put ImageList to form and put pictures inside it Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TmainForm.chooseBMPRadioGroupSelectionChanged(Sender: TObject);begin  ImageList1.GetBitmap(chooseBMPRadioGroup.ItemIndex,image.Picture.Bitma p);end; procedure TmainForm.FormShow(Sender: TObject);begin  chooseBMPRadioGroup.ItemIndex:= 0;  chooseBMPRadioGroupSelectionChanged(Sender);end; ---------------------------------------------------------------------- zoltanleo · 2021-12-20 09:42 Quote from: avv210 on December 19, 2021, 02:20:28 pmHi, I know this is silly question. Do not modify the original post, please if it has already been answered. This is considered bad form.