SongGuess
    Preparing search index...

    Type Alias StreamWatermarkCreateParams

    type StreamWatermarkCreateParams = {
        name?: string;
        opacity?: number;
        padding?: number;
        position?: StreamWatermarkPosition;
        scale?: number;
    }
    Index

    Properties

    name?: string

    A short description of the watermark profile.

    opacity?: number

    The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.

    padding?: number

    The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.

    The location of the image.

    scale?: number

    The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0 fills the entire video.