ImageWriter
Qt Base Class: QImageWriter
Signature: 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
Base classes
Name | Children | Inherits |
---|---|---|
QImageWriter PySide6.QtGui QImageWriter(self) -> None |
⋔ Inheritance diagram
graph TD
1473245612896["gui.ImageWriter"]
1473245499680["QtGui.QImageWriter"]
1473291690208["Shiboken.Object"]
140713234304496["builtins.object"]
1473245499680 --> 1473245612896
1473291690208 --> 1473245499680
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: QImageWriter
Format independent interface for writing images to files or other devices.
Source code in prettyqt\gui\imagewriter.py
get_error() -> ImageWriterErrorStr
get_transformation() -> gui.imageiohandler.TransformationStr
Return the transformation and orientation the image has been set to.
Source code in prettyqt\gui\imagewriter.py
set_transformation(origin: gui.imageiohandler.TransformationStr | gui.ImageIOHandler.Transformation)
Set the image transformations metadata including orientation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
origin |
TransformationStr | Transformation
|
transformation to use |
required |