Difference between revisions of "TImage"
From Free Pascal wiki
Jump to navigationJump to searchm |
|||
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]], [[ | + | '''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]]. |
+ | |||
+ | 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 | ||
+ | |- | ||
+ | | Mac OS X 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 == | == See also == |
Revision as of 21:18, 28 February 2019
│
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.
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 |
Mac OS X 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