API for image processing. If applicable on the platform, all the methods return images with the same liveness flag as the input image.

Methods

  • Frees up any resources associated with this object. No other methods may be called on this object after destroy has been called.

    Returns Promise<void>

  • Flips the given image horizontally or vertically.

    Parameters

    • image: Image

      The image to flip

    • origin: ImageOrigin

      Location of the image origin in the image coordinate system.

    • Optional consumeImage: Config.ConsumeType

      Controls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.

    Returns Promise<ImageManipulatorFlipResponse>

    The result of the filter application.

Generated using TypeDoc