Imaging APIs for the XP Framework