PreviewScaleType

Types

Link copied to clipboard

Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).

Link copied to clipboard

Scale the image proportionally and center it.