摘要
在开发C/S和B/S模式的数据库管理程序时,涉及的图像处理一直是设计人员所面临的难点问题;结合数据窗口对象内嵌的OLE Database Blob,文件操作函数FileRead()、File-Write(),SQL语句,以及Windows API函数,提出了一种动态存储与动态载入图像信息的方法;通过将图像信息以大二进制数的形式存储在数据库中,客户端可调用动态SQL语句SelectBlob、UpdateBlob实现从数据库服务器上动态提取和更新图像信息;同时,利用从数据库中提取出的大二进制数图像信息动态创建图像文件,分析并解决了图像在数据窗口对象中的动态载入问题,使得系统具有良好的可移植性。
In the development of C/S and B/S model database management program, the related image processing is difficult for designers. Based on data window object inner - embedded OLE Database Blob, file operating function FileRead ( ), FileWrit e( ) , SQL sentence and Windows API function, this paper holds a method for dynamic storage and load image information. This method stored image information in database in binary large pattern, the customers can dynamically use SQL sentence SelectBolb and UpdateBolb to dynamically renew and use image information in the server of the database, meanwhile, image file can be dynamically created by binary large pattern image information from the database, the dynamic load of image in database window is analyzed to make the system have good transfer property.
出处
《重庆工商大学学报(自然科学版)》
2008年第1期38-41,共4页
Journal of Chongqing Technology and Business University:Natural Science Edition