检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:韩姣[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.
分 类 号:TN919.8[电子电信—通信与信息系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.148.200.70