摘要
Vx Works嵌入式操作系统对于多媒体技术的支持不够便捷,并且没有提供类似Windows操作系统下的一键截图功能。针对这一问题,给出了基于Wind ML3.0进行图形界面开发的基本流程,实现了Vx Works操作系统框架下的JPEG图片显示功能以及基础绘图功能。此外还提出了一种基于位图数据块拷贝(Bit Blt)技术的截图方法,并将位图数据块内容分别储为BMP和JPEG两种通用图片格式。实验结果表明,该方法实现了Vx Works下的截图功能,能够成功截取屏幕任意矩形区域的画面。
VxWorks embedded operating system is not convenient for the multimedia technology, and does not provide direct screenshot function similar to Microsoft Windows. Aiming at this phenomenon, this paper presents a basic process for demonstration using WindML 3.0 graphics, which is able to display JPEG images and do basic draw- ings under VxWorks operation system. In addition, this paper proposes a screenshot approach based on bit block transfer (BitBlt) , and the content of the bitmap data block can be stored as BMP and JPEG formats, respectively. The experimental results show that the proposed method can capture the screen of any VxWorks rectangular area.
出处
《应用科技》
CAS
2016年第3期66-69,共4页
Applied Science and Technology