System.Drawing.Image image = System.Drawing.Image.FromFile("c:\\mypic.jpg");
System.Drawing.Image.GetThumbnailImageAbort tnabort = new System.Drawing.Image.GetThumbnailImageAbort(tnCallback);
System.Drawing.Image tnimage = image.GetThumbnailImage(32, 32, tnabort, IntPtr.Zero);
tnimage.Save("c:\\tnmypic.jpg");
public bool tnCallback()
{
return true;
}
Tuesday, January 22, 2008
Create Thumbnail of an image
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment