doc/ex/sepiatone.rb in rmagick-2.13.4 vs doc/ex/sepiatone.rb in rmagick-2.14.0
- old
+ new
@@ -1,8 +1,7 @@
-#! /usr/local/bin/ruby -w
+#!/usr/bin/env ruby -w
-require 'RMagick'
+require 'rmagick'
img = Magick::Image.read('images/Flower_Hat.jpg').first
sepiatone = img.sepiatone(Magick::QuantumRange * 0.8)
sepiatone.write('sepiatone.jpg')
-