Difference between revisions of "TImage"
From Free Pascal wiki
Jump to navigationJump to searchm (→Supported formats: Removed non-existent page link) |
m (Add link for transparent property) |
||
Line 1: | Line 1: | ||
{{TImage}} | {{TImage}} | ||
− | '''TImage''' [[Image:timage.png]] is a component that holds a graphic image placed on a [[TForm|form]]; usually it is loaded from a picture file. It inherits most of its properties from its ancestors, [[doc:lcl/extctrls/tcustomimage.html|TCustomImage]], [[TGraphicControl]] and [[doc:lcl/controls/tcontrol.html|TControl]]. | + | '''TImage''' [[Image:timage.png]] is a component that holds a graphic image placed on a [[TForm|form]]; usually it is loaded from a picture file. It inherits most of its properties from its ancestors, [[doc:lcl/extctrls/tcustomimage.html|TCustomImage]], [[TGraphicControl]] and [[doc:lcl/controls/tcontrol.html|TControl]]. It is one of the few LCL components which supports the [[Transparent]] property by default. |
The Picture [[Property|property]] is used to define the image for the TImage component. | The Picture [[Property|property]] is used to define the image for the TImage component. |
Latest revision as of 02:57, 12 September 2020
│
Deutsch (de) │
English (en) │
suomi (fi) │
français (fr) │
日本語 (ja) │
русский (ru) │
TImage is a component that holds a graphic image placed on a form; usually it is loaded from a picture file. It inherits most of its properties from its ancestors, TCustomImage, TGraphicControl and TControl. It is one of the few LCL components which supports the Transparent property by default.
The Picture property is used to define the image for the TImage component.
Supported formats
Supported image formats are:
Image format | File extension |
---|---|
Portable Network Graphics | *.png |
Bitmap | *.bmp |
Pixmap | *.xpm |
Cursor | *.cur |
Icon | *.ico |
macOS icon | *.icns |
Joint Photographic Experts Group | *.jpg *.jpeg |
Tagged Image File Format | *.tif *.tiff |
Graphics Interchange Format | *.gif |
Portable PixMap | *.pbm *.pgm *.ppm |
See also