Resource Base
Table of contents

DCEFrame

interface DCEFrame

  • pixelFormat: string

    The pixel format of the image data. The value is limited to “rgba” (default), “rbga”, “grba”, “gbra”, “brga”, “bgra”, “grey” or “grey32”.

  • stride: number

    The stride is the width of a single row of pixels (a scan line), rounded up to a four-byte boundary.

  • data: Uint8Array

    The raw image data.

  • region: Region

    The region based on which the original frame is cropped.

  • isCropped: boolean

    Whether the image was cropped from the original frame.

  • sx: number

    The horizontal coordinate of the upper left point of the data on the original frame. If the frame was not cropped, the coordinate is 0.

  • sy: number

    The vertical coordinate of the upper left point of the data on the original frame. If the frame was not cropped, the coordinate is 0.

  • width: number

    The width of the image data.

  • height: number

    The height of the image data.

  • timeSpent: number

    The time in miniseconds spent in acquiring the frame.

  • timeStamp: number

    The timeStamp at which point the frame acquisition finished.

  • toCanvas: ()=>HTMLCanvasElement

    A Function which converts the image data to an HTMLCanvasElement object.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

version 3.3.9

  • Latest version(4.0.2)
  • Version 4.x
    • Version 4.0.1
    • Version 4.0.0
  • Version 3.x
    • Version 3.3.10
    • Version 3.3.9
    • Version 3.3.8
    • Version 3.3.7
    • Version 3.3.6
    • Version 3.3.5
    • Version 3.3.4
    • Version 3.3.3
    • Version 3.3.2
    • Version 3.3.1
    • Version 3.3.0
    • Version 3.2.0
    • Version 3.1.0
    • Version 3.0.1
    • Version 3.0.0
  • Version 2.x
    • Version 2.3.5
    • Version 2.3.2
    • Version 2.3.1
    • Version 2.3.0
    • Version 2.1.4
    • Version 2.1.3
    • Version 2.1.0
    • Version 2.0.0
Change +