文件名称:CBMPImage
-
所属分类:
- 标签属性:
- 上传时间:2013-07-24
-
文件大小:1.93kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
测试环境: Visual Studio 2010 MFC
备 注:如果不是上述环境,请将DrawBMP函数重写;而且由于各个版本问题,添加必要的头文件~
贴一个挫挫的类,献给正在学BMP文件格式的同学
使用范围:24位BMP位图(无调色板);
如何增加使用范围:改写GetPixel函数,与SetPixelRGB函数;
如何增加调色板: 改写Load函数,其中添加对调色板的读取。
改写GetPixel函数,根据得到位图数据在调色板中选取颜色
改写SetPixelRGB,同上~-Test Environment: Visual Studio 2010 MFC Note: If it is not the environment, please DrawBMP function overrides And because each version of the problem, add the necessary header files ~ posted a Cuocuo class, dedicated to studying the students to use BMP file formats Range: 24 BMP bitmap (no palette) how to increase the use of: rewrite GetPixel function, and SetPixelRGB function how to increase the palette: rewrite Load function, which add a palette reads. Rewrite GetPixel function, according to the bitmap data obtained select a color in the palette rewrite SetPixelRGB, ibid ~
备 注:如果不是上述环境,请将DrawBMP函数重写;而且由于各个版本问题,添加必要的头文件~
贴一个挫挫的类,献给正在学BMP文件格式的同学
使用范围:24位BMP位图(无调色板);
如何增加使用范围:改写GetPixel函数,与SetPixelRGB函数;
如何增加调色板: 改写Load函数,其中添加对调色板的读取。
改写GetPixel函数,根据得到位图数据在调色板中选取颜色
改写SetPixelRGB,同上~-Test Environment: Visual Studio 2010 MFC Note: If it is not the environment, please DrawBMP function overrides And because each version of the problem, add the necessary header files ~ posted a Cuocuo class, dedicated to studying the students to use BMP file formats Range: 24 BMP bitmap (no palette) how to increase the use of: rewrite GetPixel function, and SetPixelRGB function how to increase the palette: rewrite Load function, which add a palette reads. Rewrite GetPixel function, according to the bitmap data obtained select a color in the palette rewrite SetPixelRGB, ibid ~
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BMPImage.h
BMPImage.cpp
BMPImage.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.