The QImageEncoderControl class provides access to the settings of a media service that performs image encoding. More...
#include <QImageEncoderControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.0.
virtual | ~QImageEncoderControl () |
virtual QString | imageCodecDescription ( const QString & codec ) const = 0 |
virtual QImageEncoderSettings | imageSettings () const = 0 |
virtual void | setImageSettings ( const QImageEncoderSettings & settings ) = 0 |
virtual QStringList | supportedImageCodecs () const = 0 |
virtual QList<QSize> | supportedResolutions ( const QImageEncoderSettings & settings, bool * continuous = 0 ) const = 0 |
QImageEncoderControl ( QObject * parent = 0 ) |
QImageEncoderControl_iid |
The QImageEncoderControl class provides access to the settings of a media service that performs image encoding.
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 com.nokia.Qt.QImageEncoderControl/1.0 as defined in QImageEncoderControl_iid.
See also QImageEncoderSettings and QMediaService::requestControl().
Constructs a new image encoder control object with the given parent
Destroys the image encoder control.
Returns a description of an image codec.
This function was introduced in Qt Mobility 1.0.
Returns the currently used image encoder settings.
The returned value may be different tha passed to QImageEncoderControl::setImageSettings() if the settings contains the default or undefined parameters. In this case if the undefined parameters are already resolved, they should be returned.
This function was introduced in Qt Mobility 1.0.
See also setImageSettings().
Sets the selected image encoder settings.
This function was introduced in Qt Mobility 1.0.
See also imageSettings().
Returns a list of supported image codecs.
This function was introduced in Qt Mobility 1.0.
Returns a list of supported resolutions.
If non null image settings parameter is passed, the returned list is reduced to resolutions supported with partial settings applied. It can be used to query the list of resolutions, supported by specific image codec.
If the encoder supports arbitrary resolutions within the supported resolutions range, *continuous is set to true, otherwise *continuous is set to false.
This function was introduced in Qt Mobility 1.0.
com.nokia.Qt.QImageEncoderControl/1.0
Defines the interface name of the QImageEncoderControl class.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.