摘要
文章提供了在DOS操作系统下,使用C语言实现BMP图像文件的显示方法。采用VESA视频标准,根据BMP图像的文件结构,对图像文件进行读写操作。全部程序在Borland C++3.1环境下编译运行成功,实现了VESA标准的几种显示模式,显示和保存效果清晰,色彩图像真实。该方法已应用在某智能仪器的视频显示中。
This article provides a DOS operating system and uses the C language to achieve one image file display method based on BMP.Using VESA video standards,it can read and write the image file based on BMP image file structure.All procedures is compiled and run successfully under Borland C+ + 3.1 environment.The several display modes of VESA standard are achieved.Results are displayed and saved clearly.And color images are true.It has been applied in a video display of one intelligent instrument.
出处
《仪表技术》
2011年第2期61-62,共2页
Instrumentation Technology
基金
太原高新区创新基金项目(09CXJJ-07)