widthPixels
The width of the output image that is used in conjunction with the HeightPixels
parameter. When both WidthPixels
and HeightPixels
parameters are provided, the image will be stretched to fit the specified aspect ratio. If only the WidthPixels
parameter is provided or if only the HeightPixels
is provided, a ValidationException
will be thrown. If neither parameter is provided, the original image size from the stream will be returned.