# File icon-artist/icon.rb, line 407
    def export(dir=".",sizes=THEME_SIZES)
      export_dir = File.expand_path(dir)
      exported_sizes = export_pngs(export_dir,sizes)
      if sizes.include?('scalable')
        exported_sizes += export_scalable(export_dir)
      end
      puts "Icon #{@iconname} exported successfully."
      icon = {
        "name" => @iconname,
        "context" => @context,
        "sizes" => exported_sizes
      }
      return icon
    end