Class: Aws::ElasticTranscoder::Types::JobAlbumArt
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticTranscoder::Types::JobAlbumArt
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elastictranscoder/types.rb
Overview
When making an API call, you may pass JobAlbumArt data as a 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.
Instance Attribute Summary collapse
-
#artwork ⇒ Array<Types::Artwork>
The file to be used as album art.
-
#merge_policy ⇒ String
A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.
Instance Attribute Details
#artwork ⇒ Array<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`
2386 2387 2388 2389 2390 |
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 2386 class JobAlbumArt < Struct.new( :merge_policy, :artwork) include Aws::Structure end |
#merge_policy ⇒ String
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.
2386 2387 2388 2389 2390 |
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 2386 class JobAlbumArt < Struct.new( :merge_policy, :artwork) include Aws::Structure end |