摘要
本文介绍了MS-Windows使用的、与设备无关的位图文件BMP,分析了BMP文件的格式和特点,同时分析了BorlandBGI图形接口标准中使用的位图信息存储格式.在此基础上,给出了将BMP文件转换成符合BGI位图信息存储格式的PIC文件的算法,从而将Windows性能卓越的交互式绘图工具Paintbrush推广到程序设计语言环境,弥补了程序设计语言在交互作图方面的不足.
The BMP bitmap file used in used in MS-Windows is introduced, and its features are analyzed in this paper. Meanwhile, the analysis of Borland BGI bitmap memory format is presented. Based on these analyses, the method that converts BMP file to PIC file is fulfilled. The interactive drawing tool Paintbrush in MS-Windows is expanded to programming environment by means of the method, and consequently improves the performence of programming languages at interactive drawing.
出处
《微机发展》
1995年第2期27-31,共5页
Microcomputer Development