QImageEncoderControl

The QImageEncoderControl class provides access to the settings of a media service that performs image encoding. More

Inheritance diagram of PySide2.QtMultimedia.QImageEncoderControl

Detailed Description

If a QMediaService supports encoding image data it will implement QImageEncoderControl . This control allows to set image encoding settings and provides functions for quering supported image codecs and resolutions .

The interface name of QImageEncoderControl is org.qt-project.qt.imageencodercontrol/5.0 as defined in QImageEncoderControl_iid .

class PySide2.QtMultimedia.QImageEncoderControl([parent=None])
param parent

PySide2.QtCore.QObject

Constructs a new image encoder control object with the given parent

PySide2.QtMultimedia.QImageEncoderControl.imageCodecDescription(codec)
Parameters

codec – str

Return type

str

Returns a description of an image codec .

PySide2.QtMultimedia.QImageEncoderControl.imageSettings()
Return type

PySide2.QtMultimedia.QImageEncoderSettings

Returns the currently used image encoder settings.

The returned value may be different tha passed to setImageSettings() if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.

PySide2.QtMultimedia.QImageEncoderControl.setImageSettings(settings)
Parameters

settingsPySide2.QtMultimedia.QImageEncoderSettings

Sets the selected image encoder settings .

See also

imageSettings()

PySide2.QtMultimedia.QImageEncoderControl.supportedImageCodecs()
Return type

list of strings

Returns a list of supported image codecs.