圖片縮放功能是實現

  private Image GetThumbnail(string path, int width, int height)         {string

            Image image = Image.FromFile(path);im

            Image.GetThumbnailImageAbort myCallback = new Image.GetThumbnailImageAbort(ThumbnailCallback);new

            Image thumbnail = image.GetThumbnailImage(width, height, myCallback, IntPtr.Zero);path

            image.Dispose();return

            return thumbnail;         }        

public bool ThumbnailCallback()         {          

   return false;      

   }

相關文章
相關標籤/搜索