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.
Implements
IMessageOverlayTypesImage, IEquatableOverlayTypesImage, IDeepCloneableOverlayTypesImage, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Constructors
Image()
public Image()
Image(Image)
public Image(Overlay.Types.Image other)
Parameter | |
---|---|
Name | Description |
other | OverlayTypesImage |
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 | |
---|---|
Type | Description |
double |
Resolution
public Overlay.Types.NormalizedCoordinate Resolution { get; set; }
Normalized image resolution, based on output video resolution. Valid
values: 0.0
–1.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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |