You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticTranscoder::Types::JobAlbumArt

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing JobAlbumArt as input to an Aws::Client method, you can use a vanilla Hash:

{
  merge_policy: "MergePolicy",
  artwork: [
    {
      input_key: "WatermarkKey",
      max_width: "DigitsOrAuto",
      max_height: "DigitsOrAuto",
      sizing_policy: "SizingPolicy",
      padding_policy: "PaddingPolicy",
      album_art_format: "JpgOrPng",
      encryption: {
        mode: "EncryptionMode",
        key: "Base64EncodedString",
        key_md_5: "Base64EncodedString",
        initialization_vector: "ZeroTo255String",
      },
    },
  ],
}

The .jpg or .png file associated with an audio file.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#artworkArray<Types::Artwork>

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

Returns:

#merge_policyString

A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

  • Replace: The specified album art replaces any existing album art.

  • Prepend: The specified album art is placed in front of any existing album art.

  • Append: The specified album art is placed after any existing album art.

  • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

Returns:

  • (String)

    A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.