code: def getSupportedImageFormats():
      filter = [
          "*." + f.data().decode("utf-8")
          for f in QtGui.QImageWriter.supportedImageFormats()
      ]
      preferred = ["*.png", "*.tif", "*.jpg"]
      for p in preferred[::-1]:
          if p in filter:
              filter.remove(p)
              filter.insert(0, p)
      return filter
  
file_path: pyqtgraph/pyqtgraph/exporters/ImageExporter.py
imports: import sys
  import numpy
  from ..None import functions
  from ..parametertree import Parameter
  from ..Qt import QtCore, QtGui, QtWidgets
  from .Exporter import Exporter
label_desc: Use image node_id 5 for calling the ImageExporter obj's underlying member method code with example usage: obj.getSupportedImageFormats() and returns: filter