Hierarchy

  • StiImageHelper

Index

Methods

Static getImageBytesFromObject

  • getImageBytesFromObject(imageObject: any): number[]
  • Parameters

    • imageObject: any

    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

    Returns Image

Static isBmp

  • isBmp(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isEmf

  • isEmf(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isGif

  • isGif(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isIcon

  • isIcon(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isImage

  • isImage(data: any): boolean
  • Parameters

    • data: any

    Returns boolean

Static isImage2

  • isImage2(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isImage3

  • isImage3(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Static isJpeg

  • isJpeg(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isPng

  • isPng(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isSvg

  • isSvg(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isTiff

  • isTiff(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isWmf

  • isWmf(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Static isXml

  • isXml(data: number[]): boolean
  • Parameters

    • data: number[]

    Returns boolean

Generated using TypeDoc