![]() |
【转帖】is oddbrasterimagedefload90 working
is oddbrasterimagedef::load() working?
is oddbrasterimagedef::load() working? is oddbrasterimagedef::load() working? i add and image do database as it is done in onwriteex. the only difference is that i call pimagedef->load() instead of pimagedef->setimage(odgirasterimagedesc::createobject(1024 , 384, odgirasterimage::kinch)); because i want to draw database immediately after adding the image. later oddbrasterimage::imagesize() returns size 1x1 pixel. is it correct? also, oddbrasterimage is not drawed. when i call also setimage before load, then load returns false. tia regards, michał Śliwka cadwork poland loading of rastrer files is performed by rxrasterservices module (rxrasterservices.drx in dll version). if it's not used in your application no rastrer files can be loaded. if you use sample implementation provided with dwgdirect (examples/exservices/exgirasterimage) .bmp and jpeg files only can be loaded. to handle other raster formats you need to provide your our implementation of this module. exgirasterimage contains 2 sample implementation using jpeg-6b and snowbound libraries. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 03:15 PM. |