# Purpose: Demonstrate getting information from the image attributes. # Usage: describe.rb filename1 [filename2...] # Notes: The output is similar to ImageMagick's identify command. require 'RMagick' puts < 0 puts " Properties:" img.properties { |name,value| puts %Q| #{name} = "#{value}"| } end }