To load an image at runtime with bitmap.loadfromfile, add the unit implementing the wanted format to uses first
Source position: mseimage.pas line 62
published property timage.bitmap : tmaskedbitmap |
To load an image at runtime with bitmap.loadfromfile, add the unit implementing the wanted format to uses first — e.g. mseformatbmpico, mseformatjpg, mseformatpng, mseformatpnm, mseformattga or mseformatxpm (unit msegraphicstream lists the currently registered formats). To embed a fixed image at design time instead, assign it through the ellipse button next to bitmap in the object inspector, which stores it directly in the .mfm file.