Sha256: 21f23b97cca2bf39b191b5f153fc1781c6d0258e872db365b4cea81d0f2a3a59
Contents?: true
Size: 418 Bytes
Versions: 67
Compression:
Stored size: 418 Bytes
Contents
#! /usr/local/bin/ruby -w # Demonstrate ImageList#average method require 'RMagick' images = Magick::ImageList.new("images/Button_A.gif", "images/Button_B.gif", "images/Button_C.gif") group = images.append false group.compression = Magick::LZWCompression group.write "average_before.gif" average_image = images.average average_image.compression = Magick::LZWCompression average_image.write "average_after.gif" exit
Version data entries
67 entries across 67 versions & 2 rubygems