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 jpeg image.
Implements
IMessageOverlayTypesImage, IEquatableOverlayTypesImage, IDeepCloneableOverlayTypesImage, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.VideoGoogle.Cloud.Video.TranscoderV1Assembly
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 JPEG image in Cloud Storage. For example,
gs://bucket/inputs/image.jpeg
. JPEG is the only supported image type.
Property Value | |
---|---|
Type | Description |
string |