Answers for "c# image new size change"

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
7

how to change image source using javascript

document.getElementById("myImg").src = "hackanm.gif";
Posted by: Guest on February-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language