Answers for "resize image c#"

C#
8

resize image c#

public static Image resizeImage(Image imgToResize, Size size)
    {
       return (Image)(new Bitmap(imgToResize, size));
    }

    yourImage = resizeImage(yourImage, new Size(50,50));
Posted by: Guest on April-28-2020

C# Answers by Framework

Browse Popular Code Answers by Language