Transcoder v1 API - Class Overlay.Types.Image (2.3.0)

public sealed class Image : IMessage<Overlay.Types.Image>, IEquatable<Overlay.Types.Image>, IDeepCloneable<Overlay.Types.Image>, IBufferMessage, IMessage

Reference documentation and code samples for the Transcoder v1 API class Overlay.Types.Image.

Overlaid jpeg image.

Inheritance

Object > Overlay.Types.Image

Namespace

Google.Cloud.Video.Transcoder.V1

Assembly

Google.Cloud.Video.Transcoder.V1.dll

Constructors

Image()

public Image()

Image(Overlay.Types.Image)

public Image(Overlay.Types.Image other)
Parameter
NameDescription
otherOverlay.Types.Image

Properties

Alpha

public double Alpha { get; set; }

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.

Property Value
TypeDescription
Double

Resolution

public Overlay.Types.NormalizedCoordinate Resolution { get; set; }

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.

Property Value
TypeDescription
Overlay.Types.NormalizedCoordinate

Uri

public string Uri { get; set; }

Required. URI of the JPEG image in Cloud Storage. For example, gs://bucket/inputs/image.jpeg. JPEG is the only supported image type.

Property Value
TypeDescription
String