is bitmapsource wholly form used settlement source?
we bitmapsource vigilant calm settlement control, however i wholly have bitmap object, i directly, i modify bitmap bitmapsouce controlling following method:
bitmap bitmap = imageobjtobeconvert;
intptr hbitmap = bitmap.gethbitmap();
outcome = imaging.createbitmapsourcefromhbitmap
(hbitmap,
intptr.zero,
int32rect.empty,
bitmapsizeoptions.fromemptyoptions());
deleteobject(hbitmap);
bitmap.dispose();
it take time. there any proceed bitmap directly?
and i found bitmapsource seems can't expelled directly, there illustration slight redeem memory immediately, after bitmapsouce used again.
Comments
Post a Comment