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
MaxWidthorMaxHeightwithout exceeding the other value. -
Stretch: Elastic Transcoder stretches the watermark to match the
values that you specified for
MaxWidthandMaxHeight. If the relative proportions of the watermark and the values ofMaxWidthandMaxHeightare 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
MaxWidthandMaxHeightwithout exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.
Implementation
final String? sizingPolicy;