ImageFormat Class
Namespace: Stimulsoft.System.Drawing.Imaging
Constructors
| Constructor | Description |
|---|---|
| constructor(string guid) |
constructor(guid: string)
Parameters
- guid (string)
Properties
| Property | Type | Description |
|---|---|---|
Bmp static |
ImageFormat | |
Gif static |
ImageFormat | |
Jpeg static |
ImageFormat | |
Png static |
ImageFormat | |
Svg static |
ImageFormat | |
Tiff static |
ImageFormat | |
| mimeType | string |
Methods
| Method | Returns | Description |
|---|---|---|
getImageFormat static |
ImageFormat | |
| getInfo | ImageInfo | |
| toString | string |
Method Details
getImageFormat static
getImageFormat(dataBytes: number[]): ImageFormat
Parameters
- dataBytes (number[])
Returns ImageFormat
getInfo
getInfo(data: { bytes: number[], base64: string, svg: string }): ImageInfo
Parameters
- data ({ bytes: number[])
- base64 (string)
- svg (string })
Returns ImageInfo
toString
toString(): string
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| base64 | any | |
| flag1 | any | |
| flag1 | any | |
| flag1 | any | |
| len | any | |
| len | any | |
| len | any | |
| pos | any | |
| pos | any | |
| rect | any | |
| resolution | any | |
| resolution | any | |
| resolution | any | |
| resolution | any | |
| xRes | any | |
| xRes | any | |
| yRes | any | |
| yRes | any |