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

public sealed class Overlay.Types.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 image.

Inheritance

object > Overlay.Types.Image

Namespace

Google.Cloud.Video.Transcoder.V1

Assembly

Google.Cloud.Video.Transcoder.V1.dll

Constructors

Image()

public Image()

Image(Image)

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

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
OverlayTypesNormalizedCoordinate

Uri

public string Uri { get; set; }

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

Property Value
TypeDescription
string