Class: Google::Cloud::Video::Transcoder::V1beta1::Overlay::Image
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1beta1::Overlay::Image
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb
Overview
Overlaid jpeg image.
Instance Attribute Summary collapse
-
#alpha ⇒ ::Float
Target image opacity.
-
#resolution ⇒ ::Google::Cloud::Video::Transcoder::V1beta1::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
.
443 444 445 446 |
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 443 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#resolution ⇒ ::Google::Cloud::Video::Transcoder::V1beta1::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
.
443 444 445 446 |
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 443 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#uri ⇒ ::String
Returns Required. URI of the JPEG image in Cloud Storage. For example,
gs://bucket/inputs/image.jpeg
. JPEG is the only supported image type.
443 444 445 446 |
# File 'proto_docs/google/cloud/video/transcoder/v1beta1/resources.rb', line 443 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |