want resize the image to a small size with Uniform and Uniformtofill

i have a big image. i want resize the image to a small size. First i want the image to be uniform  and lateron i want that to be Uniformtofill. I think its all a mathamatical calulation with width and height. can anyone give this calculation? thanks in advance.
Who is Participating?
DeathraceConnect With a Mentor Commented:
x1877Author Commented:
Thanks Deathrace. I am looking exactly something like that, but when i put that image its loosing the quality. Is there anyway to preserve the quality?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.