Hi,
Can someone tell me the difference between Uniform, UniformToFill & Fill?
Thank you!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Zoran HorvatPosted Jul 26, 2011, 6:57 AM
Uniform will resize the image while preserving width:height ratio, so that at least one image's dimension is equal to container's dimension. For instance, if container is of size 300:100 and image has dimensions 70:50, then image will be resized to 140:100.
UniformToFill is combination of Fill and Uniform - it will resize the image until complete container is filled, while preserving image's aspect ratio. In that case, part of the image might be clipped. For example if container has dimensions 300:100 and image has dimensions 100:50, then image will be resized to 300:150, in which case part of the image will be invisible.
Zoran
Blocked AccountPosted Jul 26, 2011, 6:57 AM
You will get the idea about different stretch settings by following image.