Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

resize image c#

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

    yourImage = resizeImage(yourImage, new Size(50,50));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #resize #image
ADD COMMENT
Topic
Name
5+7 =