PresetThumbnails class

Constructors

PresetThumbnails({Input<String?>? aspectRatio, Input<String?>? format, Input<String?>? interval, Input<String?>? maxHeight, Input<String?>? maxWidth, Input<String?>? paddingPolicy, Input<String?>? resolution, Input<String?>? sizingPolicy})
Creates a new PresetThumbnails. aspectRatio The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9 format The format of thumbnails, if any. Valid formats are jpg and png. interval The approximate number of seconds between thumbnails. The value must be an integer. The actual interval can vary by several seconds from one thumbnail to the next. maxHeight The maximum height of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive. maxWidth The maximum width of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive. paddingPolicy When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings. resolution The width and height of thumbnail files in pixels, in the format WidthxHeight, where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object. (To better control resolution and aspect ratio of thumbnails, we recommend that you use the thumbnail values maxWidth, maxHeight, sizingPolicy, and paddingPolicy instead of resolution and aspectRatio. The two groups of settings are mutually exclusive. Do not use them together) sizingPolicy A value that controls scaling of thumbnails. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, and ShrinkToFill.
const
PresetThumbnails.fromMap(Map<String, dynamic> map)
factory

Properties

aspectRatio → Input<String?>?
The aspect ratio of thumbnails. The following values are valid: auto, 1:1, 4:3, 3:2, 16:9
final
format → Input<String?>?
The format of thumbnails, if any. Valid formats are jpg and png.
final
hashCode → int
The hash code for this object.
no setterinherited
interval → Input<String?>?
The approximate number of seconds between thumbnails. The value must be an integer. The actual interval can vary by several seconds from one thumbnail to the next.
final
maxHeight → Input<String?>?
The maximum height of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.
final
maxWidth → Input<String?>?
The maximum width of thumbnails, in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.
final
paddingPolicy → Input<String?>?
When you set PaddingPolicy to Pad, Elastic Transcoder might add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.
final
resolution → Input<String?>?
The width and height of thumbnail files in pixels, in the format WidthxHeight, where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object. (To better control resolution and aspect ratio of thumbnails, we recommend that you use the thumbnail values maxWidth, maxHeight, sizingPolicy, and paddingPolicy instead of resolution and aspectRatio. The two groups of settings are mutually exclusive. Do not use them together)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizingPolicy → Input<String?>?
A value that controls scaling of thumbnails. Valid values are: Fit, Fill, Stretch, Keep, ShrinkToFit, and ShrinkToFill.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited