Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Image

import type { Image } from "https://googleapis.deno.dev/v1/transcoder:v1.ts";

Overlaid image.

interface Image {
alpha?: number;
resolution?: NormalizedCoordinate;
uri?: string;
}

§Properties

§
alpha?: number
[src]

Target image opacity. Valid values are from 1.0 (solid, default) to 0.0 (transparent), exclusive. Set this to a value greater than 0.0.

§

Normalized image resolution, based on output video resolution. Valid values: 0.01.0. To respect the original image aspect ratio, set either x or y to 0.0. To use the original image resolution, set both x and y to 0.0.

§
uri?: string
[src]

Required. URI of the image in Cloud Storage. For example, gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.