Create Thumbnail for large image in C# in 1 line of code

//import these file in you application
using System.Drawing;

new Bitmap("image to generate thumb").GetThumbnailImage(100, 100, null, IntPtr.Zero).Save("where to save image");

"image to generate thumb" is your Image path for which you want to generate thumbnail
"where to save image" is the location with name of thumbnail

Comments

Popular posts from this blog

Insert, Delete Rows, columns in HTML table Using Javascript

Open source Social Networking site in Asp.net and Microsoft Ajax

Lite PromiseJS(Light weight JavaScript promise library)