Getting The Image Thumbnail

 public static Image GetImageThumbNail(Image img,int mWidth,int mHeight)
Image.GetThumbnailImageAbort myCallback = new Image.GetThumbnailImageAbort(ThumbnailCallback);
img = img.GetThumbnailImage(mWidth , mHeight , myCallback, IntPtr.Zero);
return img;
private static bool ThumbnailCallback()
return false;



a dev, an amateur photographer and a father


Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: