compositor = new Kdu_region_compositor();
if (raw_src != null)
compositor.Create(raw_src);
else
compositor.Create(wrapped_src);
Kdu_dims imageDimensions = new Kdu_dims();
compositor.Get_total_composition_dims(imageDimensions);
Kdu_coords imageSize = imageDimensions.Access_size();
Kdu_coords imagePosition = imageDimensions.Access_pos();