GoogleApi.Transcoder.V1.Model.Image (google_api_transcoder v0.4.2)

View Source

Overlaid image.

Attributes

  • alpha (type: float(), default: nil) - 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.
  • resolution (type: GoogleApi.Transcoder.V1.Model.NormalizedCoordinate.t, default: nil) - Normalized image resolution, based on output video resolution. Valid values: 0.01.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.
  • uri (type: String.t, default: nil) - Required. URI of the image in Cloud Storage. For example, gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Transcoder.V1.Model.Image{
  alpha: float() | nil,
  resolution: GoogleApi.Transcoder.V1.Model.NormalizedCoordinate.t() | nil,
  uri: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.