摘要:
原代码: private BitmapSource BitmapToBitmapSource(System.Drawing.Bitmap src) { IntPtr ip = src.GetHbitmap();//从GDI+ Bitmap创建GDI位图对象 BitmapSource bitmapSo 阅读全文
posted @ 2021-08-25 14:16
奇迹之耀
阅读(666)
评论(0)
推荐(0)
摘要:
需求:读取高分辨率图片显示到宽度为200的Image控件上 核心代码: private BitmapImage ReadImageFiletToBinary(string fileName) { using (var stream = new FileStream(fileName, FileMod 阅读全文
posted @ 2021-08-25 10:31
奇迹之耀
阅读(995)
评论(0)
推荐(0)

浙公网安备 33010602011771号