首页 | 本学科首页   官方微博 | 高级检索  
     

基于VC + +的BMP格式图像与GIF格式图像转换
引用本文:韩姣.基于VC + +的BMP格式图像与GIF格式图像转换[J].武汉理工大学学报(信息与管理工程版),2007,29(12):23-25.
作者姓名:韩姣
作者单位:武汉理工大学,信息工程学院,湖北,武汉,430070
基金项目:湖北省武汉市科技攻关项目
摘    要:探讨了在VC 环境下BMP图像文件与GIF图像文件的转换。首先分析了BMP与GIF2种图像的具体格式,然后在VC 环境下建立自己的函数库文件DIB.H和DIB.CPP,对即将使用的数据成员和函数成员进行初始化,从而实现BMP图像的读取、显示和保存等相关操作。在理解LZW编码算法原理的基础上,在VC 下实现该算法。同时,通过前面建立的BMP图像函数库,调用相关函数,就可以找到相应的具体的图像数据,进而通过LZW编码将BMP图像数据转换成GIF图像数据,实现图像格式的转换。

关 键 词:BMP格式分析  图像格式转换  LZW算法
文章编号:1007-144X(2007)12-0023-03
修稿时间:2007年6月15日

Conversion from BMP to GIF Format Based 0n VC++ Environment
HAN Jiao.Conversion from BMP to GIF Format Based 0n VC++ Environment[J].Journal of Wuhan University of Technology(Information & Management Engineering),2007,29(12):23-25.
Authors:HAN Jiao
Abstract: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.
Keywords:BMP format analysis  image format conversion  LZW coding algorithm
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号