Class: Google::Cloud::Video::Transcoder::V1::Overlay::Image
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1::Overlay::Image
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1/resources.rb
Overview
Overlaid image.
Instance Attribute Summary collapse
-
#alpha ⇒ ::Float
Target image opacity.
-
#resolution ⇒ ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Normalized image resolution, based on output video resolution.
-
#uri ⇒ ::String
Required.
Instance Attribute Details
#alpha ⇒ ::Float
Returns 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
.
538 539 540 541 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 538 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resolution ⇒ ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Returns 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
.
538 539 540 541 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 538 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#uri ⇒ ::String
Returns Required. URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png
. Only PNG and JPEG images are supported.
538 539 540 541 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 538 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |