C library for Source Extraction and Photometry