code: def main():
      options, args = parser.parse_known_args()
      if options.debug:
          logging.basicConfig(level=logging.DEBUG)
  
      fn_source = os.path.join(options.source_dir, options.source_svg)
  
      if options.generate_svg or options.generate_all:
          generate_notail_notext_versions(fn_source, options.output_dir)
  
      if options.generate_png or options.generate_all:
          sizes = options.sizes.split(",")
          sizes = [int(s) for s in sizes]
          convert_to_png(fn_source, options.output_dir, sizes)
  
      if options.generate_ico or options.generate_all:
          sizes = options.icon_sizes.split(",")
          sizes = [int(s) for s in sizes]
          convert_to_ico(fn_source, options.output_dir, sizes)
  
file_path: sympy/doc/generate_logos.py
imports: from argparse import ArgumentParser
  import xml.dom.minidom
  import os.path
  import logging
  import subprocess
  import sys
  from platform import system
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types