高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】rasterimages not print width odamfcappdll.exe
rasterimages not print width odamfcappdll.exe
rasterimages not print width odamfcappdll.exe
hi,
i have a dwg which contains a rasterimage.
when i print my dwg , without "via bitmap" and with wingdi , the dwg is printing without image.
have you an idea to slove the problem?
thanks
hi,
thanks for your report. this is bug in dd.
wingdi vectorizer use odgiplotgenerator in geometry conveyor. on this step called rasterimageproc for odgigeometrysimplifier, so after this step all next geometry pipeline nodes has only shell() call on input and raster image data lost.
if you have dwgdirect source code, you can make following changes in it:
add to odgiplotgeneratorimpl class in [giplotgeneratorimpl.h]:
code:
void rasterimageproc(const odgepoint3d& origin,
const odgevector3d& u,
const odgevector3d& v,
const odgirasterimage* pimg, // image object
const odgepoint2d* uvboundary, // may not be null
oduint32 numboundpts,
bool transparency,
double brightness,
double contrast,
double fade);add to [giplotgenerator.cpp]:
code:
void odgiplotgeneratorimpl::rasterimageproc(const odgepoint3d& origin,
const odgevector3d& u,
const odgevector3d& v,
const odgirasterimage* pimg, // image object
const odgepoint2d* uvboundary, // may not be null
oduint32 numboundpts,
bool transparency,
double brightness,
double contrast,
double fade)
{
// redirect without any changes.
// this overload must be here for avoid odgigeometrysimplifier::rasterimageproc call on this conveyor step.
destgeometry().rasterimageproc(origin, u, v, pimg, uvboundary, numboundpts, transparency, brightness, contrast, fade);
}this fix will be available in next release.
|