Add image manipulation routines.