![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c/c++
文章平均质量分 72
huaiyuren
这个作者很懒,什么都没留下…
展开
-
完整24位真彩色位图灰度化源代码
From:http://hi.baidu.com/xets/blog/item/3f19c81f7ba3706bf724e476.html BOOL JpegFile::BMP24to8(char *szSourceFile,char *szTargetFile){ HANDLE hSourceFile=INVALID_HANDLE_VALUE,hTargetFile=INVA转载 2009-04-28 16:38:00 · 903 阅读 · 0 评论 -
单色图的缩小
///////////////////////////////////////////////////////////////////// Function name : ZoomOutBmp// Description : creates a new bitmap which is a grayscale// zoomed o转载 2009-04-28 16:41:00 · 502 阅读 · 0 评论 -
包装本机类以供 C# 使用
Visual C++如何:包装本机类以供 C# 使用 本示例说明如何包装本机 C++ 类以便用 C# 或其他 .NET 语言编写的代码可以使用它。示例复制代码// wrap_native_class_for_mgd_consumption.cpp// compile with: /clr /LD#include #include原创 2009-06-03 11:09:00 · 435 阅读 · 0 评论