static RGBImage rgbImageAndRect_getClip(RGBImageAndRect r) { if (r == null) null; ret clipRGBImage(r.image, r.rect); }