Text this: Image processing and data reduction in CCD photometry /