Methods
Static getImageBytesFromObject
- getImageBytesFromObject(imageObject: any): number[]
-
Parameters
Returns number[]
Static getImageFromObject
- getImageFromObject(imageObject: any, width?: number, height?: number, stretch?: boolean, aspectRatio?: boolean): Image
-
Parameters
-
imageObject: any
-
Default value width: number = 200
-
Default value height: number = 200
-
Default value stretch: boolean = true
-
Default value aspectRatio: boolean = false
Static isBmp
- isBmp(data: number[]): boolean
-
Parameters
Returns boolean
Static isEmf
- isEmf(data: number[]): boolean
-
Parameters
Returns boolean
Static isGif
- isGif(data: number[]): boolean
-
Parameters
Returns boolean
Static isIcon
- isIcon(data: number[]): boolean
-
Parameters
Returns boolean
Static isImage
- isImage(data: any): boolean
-
Parameters
Returns boolean
Static isImage2
- isImage2(data: number[]): boolean
-
Parameters
Returns boolean
Static isImage3
- isImage3(str: string): boolean
-
Parameters
Returns boolean
Static isJpeg
- isJpeg(data: number[]): boolean
-
Parameters
Returns boolean
Static isPng
- isPng(data: number[]): boolean
-
Parameters
Returns boolean
Static isSvg
- isSvg(data: number[]): boolean
-
Parameters
Returns boolean
Static isTiff
- isTiff(data: number[]): boolean
-
Parameters
Returns boolean
Static isWmf
- isWmf(data: number[]): boolean
-
Parameters
Returns boolean
Static isXml
- isXml(data: number[]): boolean
-
Parameters
Returns boolean