System.Drawing.Bitmap bmp = null;
MODIOCR.MODI md = null;
bmp = new System.Drawing.Bitmap(tempImage);
MODIOCR.MODI md = null;
tiffPath = AppDomain.CurrentDomain.BaseDirectory + C_TEMP_Tiff + ".tiff";
                image = bmp.GetThumbnailImage((int)width, (int)height, null, IntPtr.Zero);
                image.Save(tiffPath, ImageFormat.Tiff);
                md.ocr(tiffPath, ayLanguageList);
bmp.Dispose();
                image.Dispose();
                md = null;
                GC.Collect();
File.Delete(tiffPath)//这句执行出错:提示文件被另一进城访问
白猪掌柜的