[] (MiniMagick::Image)

    # File lib/mini_magick.rb, line 51
        def [](value)
          # Why do I go to the trouble of putting in newlines? Because otherwise animated gifs screw everything up
          case value.to_s
          when "format"
            run_command("identify", "-format", format_option("%m"), @path).split("\n")[0]
          when "height"
            run_command("identify", "-format", format_option("%h"), @path).split("\n")[0].to_i
          when "width"
            run_command("identify", "-format", format_option("%w"), @path).split("\n")[0].to_i
          when "dimensions"
            run_command("identify", "-format", format_option("%w %h"), @path).split("\n")[0].split.map{|v|v.to_i}
          when "size"
            File.size(@path) # Do this because calling identify -format "%b" on an animated gif fails!
          when "original_at"
            # Get the EXIF original capture as a Time object
            Time.local(*self["EXIF:DateTimeOriginal"].split(/:|\s+/)) rescue nil
          when /^EXIF\:/i
            run_command('identify', '-format', "\"%[#{value}]\"", @path).chop
          else
            run_command('identify', '-format', "\"#{value}\"", @path).split("\n")[0]
          end
        end