EditImage : try to code all functions