In this blog I will show how to create thumbnail image and save it in a location in C#.
System.Drawing.Image thumb = img.GetThumbnailImage(160,120, null, IntPtr.Zero);
img.Dispose();
thumb.Save(Server.MapPath("~/uploads/" + FileUpload1.FileName));
In this blog I will show how to create thumbnail image in C#.
Join the conversation! Your thoughts help the community grow.
Join to leave a comment
Members earn 10 SHARP for a comment, 10 SHARP for a reaction, and 250 SHARP for every blog they publish.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · ASP.NETASP.NET Tags in Web Forms: The Complete GuideDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
SubashPosted Sep 6, 2016, 11:24 PM EDT
Nice