Sha256: ab6ec603336852f13cf70f105525fd5d84be8e48b45dda03c1f03d5cc045f639
Contents?: true
Size: 344 Bytes
Versions: 11
Compression:
Stored size: 344 Bytes
Contents
#! /usr/local/bin/ruby -w require 'RMagick' bgnd = Magick::Image.read('images/Violin.jpg').first overlay = Magick::Image.read('images/Flower_Hat.jpg').first # Make the violin image the same size as the hat image bgnd.resize_to_fill!(overlay.columns, overlay.rows) composited = bgnd.dissolve(overlay, 0.50) composited.write('dissolve.jpg')
Version data entries
11 entries across 11 versions & 2 rubygems