Sha256: c0ece8e9ea1d56a2d8eaaa1f5ee2da50ebf95e543bba52ed6d42aeff23b0ad35
Contents?: true
Size: 292 Bytes
Versions: 18
Compression:
Stored size: 292 Bytes
Contents
require 'image_voodoo' # reads in the file specified by ARGV[0], transforming to greyscale and # writing to the file specified by ARGV[1] ImageVoodoo.with_image(ARGV[0]) do |img| img.greyscale do |img2| if ARGV[1] img2.save(ARGV[1]) else img2.preview end end end
Version data entries
18 entries across 18 versions & 1 rubygems