Image2DFormat class
Represents most common 2D image formats, supports both raster and vector formats
The Image2DFormat type exposes the following members:
Constructors
| Constructor |
Description |
| init |
Constructs a new instance of Image2DFormat |
Properties
| Property |
Description |
| undefined |
Undefined image type - special value, which should not normally occur |
| jpeg |
JPEG image type |
| png |
PNG image type |
| bmp |
BMP image type |
| gif |
GIF image type |
| icon |
ICON image type |
| svg |
SVG vector image type |
| wmf |
WMF (Windows MetaFile) vector image type |
| emf |
EMF (Enhanced MetaFile) vector image type |
| tiff |
TIFF (Tagged Image File Format) raster image type |
| name |
Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception. |
| is_vector |
Indicates whether this particular format is vector (true) or raster (false) |
| file_extension |
File extension (without leading dot character) of a particular image type in lower case. For the Image2DFormat.undefined value returns a string ‘undefined’. |
| mime_code |
MIME code of a particular image type as a string. For the Undefined type returns a string ‘unsefined’. |
Methods
See Also