Add image.cpp to repo