Difference between revisions of "TImage"
From Free Pascal wiki
Jump to navigationJump to searchm (Add link for transparent property) |
|||
(15 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{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]]. 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. | ||
+ | |||
+ | == Supported formats == | ||
+ | |||
+ | Supported image formats are: | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | ! 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 == | ||
+ | * [[doc:lcl/extctrls/timage.html|TImage doc]] | ||
+ | * [[Developing with Graphics]] | ||
+ | * [[TPaintBox]] | ||
+ | * [[TImageList]] | ||
+ | * [[TBitMap]] | ||
− | |||
{{LCL Components}} | {{LCL Components}} | ||
− | |||
− |
Latest revision as of 03: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