几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】dwf with embedded image (http://www.dimcax.com/hust/showthread.php?t=15859)

yang686526 2009-05-05 07:55 AM

【转帖】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


所有的时间均为北京时间。 现在的时间是 08:14 AM.