WatermarkBuffer

Used to configure the format, size, and pixel buffer of the watermark image.

export class WatermarkBuffer {
width?: number;
height?: number;
length?: number;
format?: VideoPixelFormat;
buffer?: Uint8Array;
}
Since
Available since v4.6.2.

Properties

width
The width of the watermark image, in pixels.
height
The height of the watermark image, in pixels.
length
The length of the watermark image buffer, in bytes.
format
The pixel format of the watermark image. See VideoPixelFormat.
buffer
The pixel buffer data of the watermark image.