查看单个帖子
旧 2009-05-07, 12:22 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】raster images and odgirasterimage

raster images and odgirasterimage
raster images and odgirasterimage
in my vectorizer, i do not use rasterimageproc (because it is never called and i do not know why, exrastermodule is includede) and so i have my own raster image procedure. it works fine, for example i get
//oddbrasterimage* pimage;
oddbrasterimagedefptr pimgdef = pimage->imagedefid().safeopenobject();
odstring sfile = pimgdef->sourcefilename();
but
odgirasterimageptr pgiraster = pimgdef->image();
returns always null.
from odgirasterimageptr, i would like to get scanlines and so on.
why does pimgdef->image() returns always null?
thanks for your help,
woho
hi,
quote:
i do not use rasterimageproc (because it is never called and i do not know why, exrastermodule is includede)
it is never called because pimgdef->image() returns always null. and it returns null most likely because exrastermodule is not properly initialized in your application. please, look here:
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)