require "rmagick" include Magick img = Image.read("../recipie.jpg").first img.write('output.jpg')