How to resize images at runtime for high quality like loading images from resized images?

I need to display an image in many different places with many different sizes. Instead of creating many image files with many sizes, I use c# code to resize the original image to the correct size I need to display. but the image quality is not good, please help

This is my demo photo