create thumbnail image
Published: 21. January 2009 | Updated: 21. January 2009License: Microsoft Public License (MS-PL)
Categories: GDI
Tags: C# GDI
Import namespace
using System.Drawing;
Code
Image img = Image.FromFile(@"C:\image.jpg"); Image thumbnail = img.GetThumbnailImage(100, 100, null, new IntPtr());
| Send us feedback about this snippet » |





