add image c/cpp