Added scale methode in ImageTools