来自BitBlt内容的HBITMAP. [英] HBITMAP from contents of BitBlt.
本文介绍了来自BitBlt内容的HBITMAP.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我的以下工作为我提供了我想要的图像.
但是,如何才能将内容保存在HBITMAP中,以便能够更快地比较2张图像?
Hello,
I have the following working giving me exactly the image I am looking for.
However, how do I get the contents to be saved in HBITMAP for me to be able to compare 2 images faster?
BitBlt(MemDC, 10, 60, 12, 26,
DlgDC, 163, 94, SRCCOPY);
任何帮助将不胜感激.
Any help would be greatly appreciated.
推荐答案
位图在内存中有两种方式:DDB和DIB,
DDB不能获取图像的内容,DIB可以做到.
也许您没有提供有关您的问题的足够信息!
there are two ways bitmap in meory : DDB and DIB,
DDB you can''t get contents of image, DIB you can do it.
and maybe you doesn''t provide enough information about your qestion!
看看GetDIBits [
Have a look at the GetDIBits[^] function to see how to get comparable image data.
这篇关于来自BitBlt内容的HBITMAP.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文