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.
Implements
IMessage<Overlay.Types.Image>, IEquatable<Overlay.Types.Image>, IDeepCloneable<Overlay.Types.Image>, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Constructors
Image()
public Image()
Image(Overlay.Types.Image)
public Image(Overlay.Types.Image other)
Parameter | |
---|---|
Name | Description |
other | Overlay.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 | |
---|---|
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 |
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 | |
---|---|
Type | Description |
String |