Line 113: // draw the images to the canvas and save back to the server
Line 114: gr.DrawImage(img, new Rectangle(iXPos, iYPos, iThumbWidth, iThumbHeight), new Rectangle(0, 0, iSrcWidth, iSrcHeight), GraphicsUnit.Pixel);
Line 115: bmp.Save(sCachedFileName, System.Drawing.Imaging.ImageFormat.Jpeg);
Line 116:
Line 117: // clean up all of the mess from above
|