Clean image.cpp