基于VC++的BMP格式图像与GIF格式图像转换  被引量:9

Conversion from BMP to GIF Format Based on VC++ Environment

在线阅读下载全文

作  者:韩姣[1] 

机构地区:[1]武汉理工大学信息工程学院,湖北武汉430070

出  处:《武汉理工大学学报(信息与管理工程版)》2007年第12期23-25,30,共4页Journal of Wuhan University of Technology:Information & Management Engineering

基  金:武汉市科技攻关资助项目(105-650091)

摘  要:探讨了在VC++环境下BMP图像文件与GIF图像文件的转换。首先分析了BMP与GIF2种图像的具体格式,然后在VC++环境下建立自己的函数库文件DIB.H和DIB.CPP,对即将使用的数据成员和函数成员进行初始化,从而实现BMP图像的读取、显示和保存等相关操作。在理解LZW编码算法原理的基础上,在VC++下实现该算法。同时,通过前面建立的BMP图像函数库,调用相关函数,就可以找到相应的具体的图像数据,进而通过LZW编码将BMP图像数据转换成GIF图像数据,实现图像格式的转换。The conversion from the BMP file into the GIF file in VC + + environment was discussed. These two kinds of image file formats were analyzed first. Then, in the VC + + environment, its own function lib files DIB. H and DIB. CPP were set up to initialize the data members and the function members that will be used. This realizes the related operation of reading and displaying of BMP files. On the basis of understanding the principle of the LZW coding,the algorithm in VC + + environment was realized. By applying the function lib file established above,the corresponding specific image data will be found. In this way, the BMP data can be inverted into GIF format through the LZW coding algorithm,which realizes the conversion of the image format.

关 键 词:BMP格式分析 图像格式转换 LZW算法 

分 类 号:TN919.8[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象