摘要
在对位图图像进行处理时,为了追求效率,往往是将位图全部读进物理内存,然后在内存中进行处理,这种方法对于尺寸较小的位图图像比较理想,但是对于特大型的位图图像就显得无能为力了。针对一些位图格式的特大机械图纸的实时处理要求,本文提出了用面相对象编程工具Delphi实现基于内存映射文件的特大机械图纸快速处理,该方法无需将位图全部读进物理内存中,从而解决了物理内存不足而带来的缺憾,取得了令人满意的效果。
In order to achieve high efficiency when processing bitmap file,the common method is loading the whole bitmap file into physical memory,this method is suitable for processing small bitmap file, while is not always the case in processing large bitmap file. In view of the rea quirement of large bitmap processing, this paper brought forward this techniques of “mem ping”together with Delphi to processing large mechanical bitmap,the method has solved the defection of limited physical memory and the speed is perfect.
出处
《浙江科技学院学报》
CAS
2005年第3期179-183,共5页
Journal of Zhejiang University of Science and Technology