QImageEncoderControl¶
The
QImageEncoderControl
class provides access to the settings of a media service that performs image encoding. More…
Detailed Description¶
If a
QMediaService
supports encoding image data it will implementQImageEncoderControl
. This control allows toset image encoding settings
and provides functions for quering supported imagecodecs
andresolutions
.The interface name of
QImageEncoderControl
isorg.qt-project.qt.imageencodercontrol/5.0
as defined inQImageEncoderControl_iid
.See also
- class PySide2.QtMultimedia.QImageEncoderControl([parent=None])¶
- param parent:
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:
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.See also
- PySide2.QtMultimedia.QImageEncoderControl.setImageSettings(settings)¶
- Parameters:
settings –
PySide2.QtMultimedia.QImageEncoderSettings
Sets the selected image encoder
settings
.See also
- PySide2.QtMultimedia.QImageEncoderControl.supportedImageCodecs()¶
- Return type:
list of strings
Returns a list of supported image codecs.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.