Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtGui »

Classe « QImageWriter »

Informations générales

Héritage

builtins.object
    Object
        QImageWriter

Définition

class QImageWriter(Object):

Description [extrait de QImageWriter.__doc__]

QImageWriter(self) -> None
QImageWriter(self, device: PySide6.QtCore.QIODevice, format: Union[PySide6.QtCore.QByteArray, bytes]) -> None
QImageWriter(self, fileName: str, format: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
DeviceErrorPySide6.QtGui.QImageWriter.ImageWriterError.DeviceError
InvalidImageErrorPySide6.QtGui.QImageWriter.ImageWriterError.InvalidImageError
UnknownErrorPySide6.QtGui.QImageWriter.ImageWriterError.UnknownError
UnsupportedFormatErrorPySide6.QtGui.QImageWriter.ImageWriterError.UnsupportedFormatError

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
canWrite(self) -> bool canWrite(self) -> bool [extrait de canWrite.__doc__]
compression(self) -> int compression(self) -> int [extrait de compression.__doc__]
device(self) -> PySide6.QtCore.QIODevice device(self) -> PySide6.QtCore.QIODevice [extrait de device.__doc__]
error(self) -> PySide6.QtGui.QImageWriter.ImageWriterError error(self) -> PySide6.QtGui.QImageWriter.ImageWriterError [extrait de error.__doc__]
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
fileName(self) -> str fileName(self) -> str [extrait de fileName.__doc__]
format(self) -> PySide6.QtCore.QByteArray format(self) -> PySide6.QtCore.QByteArray [extrait de format.__doc__]
imageFormatsForMimeType(mimeType: Union[PySide6.QtCore.QByteArray, bytes]) -> List[PySide6.QtCore.QByteArray] imageFormatsForMimeType(mimeType: Union[PySide6.QtCore.QByteArray, bytes]) -> List[PySide6.QtCore.QByteArray] [extrait de imageFormatsForMimeType.__doc__]
ImageWriterError
optimizedWrite(self) -> bool optimizedWrite(self) -> bool [extrait de optimizedWrite.__doc__]
progressiveScanWrite(self) -> bool progressiveScanWrite(self) -> bool [extrait de progressiveScanWrite.__doc__]
quality(self) -> int quality(self) -> int [extrait de quality.__doc__]
setCompression(self, compression: int) -> None setCompression(self, compression: int) -> None [extrait de setCompression.__doc__]
setDevice(self, device: PySide6.QtCore.QIODevice) -> None setDevice(self, device: PySide6.QtCore.QIODevice) -> None [extrait de setDevice.__doc__]
setFileName(self, fileName: str) -> None setFileName(self, fileName: str) -> None [extrait de setFileName.__doc__]
setFormat(self, format: Union[PySide6.QtCore.QByteArray, bytes]) -> None setFormat(self, format: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setFormat.__doc__]
setOptimizedWrite(self, optimize: bool) -> None setOptimizedWrite(self, optimize: bool) -> None [extrait de setOptimizedWrite.__doc__]
setProgressiveScanWrite(self, progressive: bool) -> None setProgressiveScanWrite(self, progressive: bool) -> None [extrait de setProgressiveScanWrite.__doc__]
setQuality(self, quality: int) -> None setQuality(self, quality: int) -> None [extrait de setQuality.__doc__]
setSubType(self, type: Union[PySide6.QtCore.QByteArray, bytes]) -> None setSubType(self, type: Union[PySide6.QtCore.QByteArray, bytes]) -> None [extrait de setSubType.__doc__]
setText(self, key: str, text: str) -> None setText(self, key: str, text: str) -> None [extrait de setText.__doc__]
setTransformation(self, orientation: PySide6.QtGui.QImageIOHandler.Transformations) -> None setTransformation(self, orientation: PySide6.QtGui.QImageIOHandler.Transformations) -> None [extrait de setTransformation.__doc__]
subType(self) -> PySide6.QtCore.QByteArray subType(self) -> PySide6.QtCore.QByteArray [extrait de subType.__doc__]
supportedImageFormats() -> List[PySide6.QtCore.QByteArray] supportedImageFormats() -> List[PySide6.QtCore.QByteArray] [extrait de supportedImageFormats.__doc__]
supportedMimeTypes() -> List[PySide6.QtCore.QByteArray] supportedMimeTypes() -> List[PySide6.QtCore.QByteArray] [extrait de supportedMimeTypes.__doc__]
supportedSubTypes(self) -> List[PySide6.QtCore.QByteArray] supportedSubTypes(self) -> List[PySide6.QtCore.QByteArray] [extrait de supportedSubTypes.__doc__]
supportsOption(self, option: PySide6.QtGui.QImageIOHandler.ImageOption) -> bool supportsOption(self, option: PySide6.QtGui.QImageIOHandler.ImageOption) -> bool [extrait de supportsOption.__doc__]
transformation(self) -> PySide6.QtGui.QImageIOHandler.Transformations transformation(self) -> PySide6.QtGui.QImageIOHandler.Transformations [extrait de transformation.__doc__]
write(self, image: Union[PySide6.QtGui.QImage, str]) -> bool write(self, image: Union[PySide6.QtGui.QImage, str]) -> bool [extrait de write.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__