高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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:
|