Hello...I'm trying to speed up the thumbnail loads for a photo app. Is this the best way to draw a thumbnail? There's about 3 other functions involved but I'm just wondering about this particular one.
Code:private static void PrintImage(object o, PrintPageEventArgs e) { var img = new Bitmap(printImagePath); var p = new Point(10, 10); e.Graphics.DrawImage(img, p); img.Dispose(); //dispose of the image!!!! }
Thanks for any help.