查看单个帖子
旧 2009-05-05, 07:55 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】dwf with embedded image

dwf with embedded image
dwf with embedded image
are dwf files with embedded images supported? i imported
the attached .dwf file into odmfcapp.exe but it only displayed
the geometry without the raster image. i am currently using
1.11.1.
any info you can provide on this would be much appreciated
attached files

dwf import supports embedded raster images.
but there is one detail. dwf import needs some library to load raster image. currently it loads module rxrasterservices.drx (with interface odrxrasterservices, file rxrasterservices.h) and calls method loadrasterimage(odstreambuf *pbuf). this method can't recognize format of image in your file, so image isn't imported (you can set breakpoint to exrastermodule::loadrasterimage). if your application has some raster functionality or you have some library for this purpose, you can write your implementation of this method, and then such files will be successfully imported.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)