Update image.rb

Work on windows !