Interface UploadImageToEaiwsSessionOptions

Hierarchy

Properties

imageData: string | Blob | File

Image as file, url or data URI. If imageDataMimeType is undefined and the given url does not constain a file extension the image will be handled as a JPG.

imageDataMimeType?: ImageMimeType

Optional mimeType of the image data. If undefined uploadImageToEaiwsSession is trying to detect the mimeType.

maxSize?: number

maximum pixel size of the image (default: 1024)

onProgress?: ((pProgress: null | number, pAbortHandler: (() => void)) => void)

Type declaration

    • (pProgress: null | number, pAbortHandler: (() => void)): void
    • optional custom progress handler

      Parameters

      • pProgress: null | number
      • pAbortHandler: (() => void)
          • (): void
          • Returns void

      Returns void

progressTitle?: string

optional custom title for the upload progress

session: EaiwsSession

eaiws session to use for upload

showProgress?: boolean

if false the progress will not be shown (default: true)

Generated using TypeDoc