added few functions in Image.cpp
fixed last commit, should compile