sizingPolicy property
A value that controls scaling of the watermark:
-
Fit: Elastic Transcoder scales the watermark so it matches the value
that you specified in either
MaxWidth
orMaxHeight
without exceeding the other value. -
Stretch: Elastic Transcoder stretches the watermark to match the
values that you specified for
MaxWidth
andMaxHeight
. If the relative proportions of the watermark and the values ofMaxWidth
andMaxHeight
are different, the watermark will be distorted. -
ShrinkToFit: Elastic Transcoder scales the watermark down so that its
dimensions match the values that you specified for at least one of
MaxWidth
andMaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.
Implementation
final String? sizingPolicy;