QImageWriter

class PyQt5.QtGui.QImageWriter

C++ documentation