【发布时间】:2011-05-26 12:35:15
【问题描述】:
我收到存储在 HBitmaps(GDI 位图句柄)中的多个(小)图像,我想在一个大的 C# System.Drawing.Bitmap 对象中将它们一起绘制。出于性能原因,我不想使用 Image.FromHBitmap 来首先转换 HBitmap,因为该方法会复制 GDI 位图。
有没有办法做到这一点? Graphics.DrawImage 似乎需要 System.Drawing Image/Bitmap 对象。
我正在使用 C#/Windows 窗体/System.Drawing。
【问题讨论】:
标签: c# bitmap gdi+ gdi system.drawing