class Magick::ImageList
def initialize(*filenames)
def initialize(*filenames) @images = [] @scene = nil filenames.each { |f| Magick::Image.read(f).each { |n| @images << n } } if length > 0 @scene = length - 1 # last image in array end self end
def initialize(*filenames) @images = [] @scene = nil filenames.each { |f| Magick::Image.read(f).each { |n| @images << n } } if length > 0 @scene = length - 1 # last image in array end self end