image.setRGB(0, 0, viewSize.Get_x(), viewSize.Get_y(), imgBuffer, 0, viewSize.Get_x());
if (compositor != null)
compositor.Native_destroy();
wrapped_src.Native_destroy();
family_src.Native_destroy();
if (raw_src != null)
raw_src.Native_destroy();
return image;
} catch (KduException e) {