QImage(self) QImage(self, arg__1: PySide2.QtGui.QImage) QImage(self, arg__1: str, arg__2: int, arg__3: int, arg__4: PySide2.QtGui.QImage.Format) QImage(self, arg__1: str, arg__2: int, arg__3: int, arg__4: int, arg__5: PySide2.QtGui.QImage.Format) QImage(self, data: bytes, width: int, height: int, bytesPerLine: int, format: PySide2.QtGui.QImage.Format, cleanupFunction: typing.Union[typing.Callable, NoneType] = None, cleanupInfo: typing.Union[int, NoneType] = None) QImage(self, data: bytes, width: int, height: int, format: PySide2.QtGui.QImage.Format, cleanupFunction: typing.Union[typing.Callable, NoneType] = None, cleanupInfo: typing.Union[int, NoneType] = None) QImage(self, fileName: str, format: typing.Union[bytes, NoneType] = None) QImage(self, size: PySide2.QtCore.QSize, format: PySide2.QtGui.QImage.Format) QImage(self, width: int, height: int, format: PySide2.QtGui.QImage.Format) QImage(self, xpm: typing.Sequence[str]) More...
Inherits QPaintDevice.
Public Member Functions | |
| bool | allGray (self, llGray, self) |
| allGray(self) -> bool | |
| PySide2.QtGui.QImage | alphaChannel (self, lphaChannel, self) |
| alphaChannel(self) -> PySide2.QtGui.QImage | |
| int | bitPlaneCount (self, itPlaneCount, self) |
| bitPlaneCount(self) -> int | |
| bytes | bits (self, its, self) |
| bits(self) -> bytes | |
| int | byteCount (self, yteCount, self) |
| byteCount(self) -> int | |
| int | bytesPerLine (self, ytesPerLine, self) |
| bytesPerLine(self) -> int | |
| int | cacheKey (self, acheKey, self) |
| cacheKey(self) -> int | |
| int | color (self, olor, self, int i) |
| color(self, i: int) -> int | |
| PySide2.QtGui.QColorSpace | colorSpace (self, olorSpace, self) |
| colorSpace(self) -> PySide2.QtGui.QColorSpace | |
| typing.List[int] | colorTable (self, olorTable, self) |
| colorTable(self) -> typing.List[int] | |
| bytes | constBits (self, onstBits, self) |
| constBits(self) -> bytes | |
| bytes | constScanLine (self, onstScanLine, self, int arg__1) |
| constScanLine(self, arg__1: int) -> bytes | |
| def | convertTo (self, onvertTo, self, PySide2.QtGui.QImage.Format f, PySide2.QtCore.Qt.ImageConversionFlags flags=PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) |
| convertTo(self, f: PySide2.QtGui.QImage.Format, flags: PySide2.QtCore.Qt.ImageConversionFlags = PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) | |
| def | convertToColorSpace (self, onvertToColorSpace, self, PySide2.QtGui.QColorSpace arg__1) |
| convertToColorSpace(self, arg__1: PySide2.QtGui.QColorSpace) | |
| PySide2.QtGui.QImage | convertToFormat (self, onvertToFormat, self, PySide2.QtGui.QImage.Format f, typing.List[int] colorTable, PySide2.QtCore.Qt.ImageConversionFlags flags=PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) |
| convertToFormat(self, f: PySide2.QtGui.QImage.Format, colorTable: typing.List[int], flags: PySide2.QtCore.Qt.ImageConversionFlags = PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) -> PySide2.QtGui.QImage convertToFormat(self, f: PySide2.QtGui.QImage.Format, flags: PySide2.QtCore.Qt.ImageConversionFlags = PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | convertToFormat_helper (self, onvertToFormat_helper, self, PySide2.QtGui.QImage.Format format, PySide2.QtCore.Qt.ImageConversionFlags flags) |
| convertToFormat_helper(self, format: PySide2.QtGui.QImage.Format, flags: PySide2.QtCore.Qt.ImageConversionFlags) -> PySide2.QtGui.QImage | |
| bool | convertToFormat_inplace (self, onvertToFormat_inplace, self, PySide2.QtGui.QImage.Format format, PySide2.QtCore.Qt.ImageConversionFlags flags) |
| convertToFormat_inplace(self, format: PySide2.QtGui.QImage.Format, flags: PySide2.QtCore.Qt.ImageConversionFlags) -> bool | |
| PySide2.QtGui.QImage | convertedToColorSpace (self, onvertedToColorSpace, self, PySide2.QtGui.QColorSpace arg__1) |
| convertedToColorSpace(self, arg__1: PySide2.QtGui.QColorSpace) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | copy (self, opy, self, PySide2.QtCore.QRect rect=Default(QRect)) |
| copy(self, rect: PySide2.QtCore.QRect = Default(QRect)) -> PySide2.QtGui.QImage copy(self, x: int, y: int, w: int, h: int) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | createAlphaMask (self, reateAlphaMask, self, PySide2.QtCore.Qt.ImageConversionFlags flags=PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) |
| createAlphaMask(self, flags: PySide2.QtCore.Qt.ImageConversionFlags = PySide2.QtCore.Qt.ImageConversionFlag.AutoColor) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | createHeuristicMask (self, reateHeuristicMask, self, bool clipTight=True) |
| createHeuristicMask(self, clipTight: bool = True) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | createMaskFromColor (self, reateMaskFromColor, self, int color, PySide2.QtCore.Qt.MaskMode mode=PySide2.QtCore.Qt.MaskMode.MaskInColor) |
| createMaskFromColor(self, color: int, mode: PySide2.QtCore.Qt.MaskMode = PySide2.QtCore.Qt.MaskMode.MaskInColor) -> PySide2.QtGui.QImage | |
| int | dotsPerMeterX (self, otsPerMeterX, self) |
| dotsPerMeterX(self) -> int | |
| int | dotsPerMeterY (self, otsPerMeterY, self) |
| dotsPerMeterY(self) -> int | |
| def | fill (self, ill, self, PySide2.QtCore.Qt.GlobalColor color) |
| fill(self, color: PySide2.QtCore.Qt.GlobalColor) fill(self, color: PySide2.QtGui.QColor) fill(self, pixel: int) | |
| PySide2.QtGui.QImage.Format | format (self, ormat, self) |
| format(self) -> PySide2.QtGui.QImage.Format | |
| PySide2.QtGui.QImage | fromDatafromData (PySide2.QtCore.QByteArray data, typing.Union[bytes, NoneType] format=None) |
| fromData(data: PySide2.QtCore.QByteArray, format: typing.Union[bytes, NoneType] = None) -> PySide2.QtGui.QImage | |
| bool | hasAlphaChannel (self, asAlphaChannel, self) |
| hasAlphaChannel(self) -> bool | |
| def | invertPixels (self, nvertPixels, self, PySide2.QtGui.QImage.InvertMode mode=PySide2.QtGui.QImage.InvertMode.InvertRgb) |
| invertPixels(self, mode: PySide2.QtGui.QImage.InvertMode = PySide2.QtGui.QImage.InvertMode.InvertRgb) | |
| bool | isGrayscale (self, sGrayscale, self) |
| isGrayscale(self) -> bool | |
| bool | isNull (self, sNull, self) |
| isNull(self) -> bool | |
| bool | load (self, oad, self, PySide2.QtCore.QIODevice device, bytes format) |
| load(self, device: PySide2.QtCore.QIODevice, format: bytes) -> bool load(self, fileName: str, format: typing.Union[bytes, NoneType] = None) -> bool | |
| bool | loadFromData (self, oadFromData, self, PySide2.QtCore.QByteArray data, typing.Union[bytes, NoneType] aformat=None) |
| loadFromData(self, data: PySide2.QtCore.QByteArray, aformat: typing.Union[bytes, NoneType] = None) -> bool | |
| PySide2.QtGui.QImage | mirrored (self, irrored, self, bool horizontally=False, bool vertically=True) |
| mirrored(self, horizontally: bool = False, vertically: bool = True) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | mirrored_helper (self, irrored_helper, self, bool horizontal, bool vertical) |
| mirrored_helper(self, horizontal: bool, vertical: bool) -> PySide2.QtGui.QImage | |
| def | mirrored_inplace (self, irrored_inplace, self, bool horizontal, bool vertical) |
| mirrored_inplace(self, horizontal: bool, vertical: bool) | |
| PySide2.QtCore.QPoint | offset (self, ffset, self) |
| offset(self) -> PySide2.QtCore.QPoint | |
| int | pixel (self, ixel, self, PySide2.QtCore.QPoint pt) |
| pixel(self, pt: PySide2.QtCore.QPoint) -> int pixel(self, x: int, y: int) -> int | |
| PySide2.QtGui.QColor | pixelColor (self, ixelColor, self, PySide2.QtCore.QPoint pt) |
| pixelColor(self, pt: PySide2.QtCore.QPoint) -> PySide2.QtGui.QColor pixelColor(self, x: int, y: int) -> PySide2.QtGui.QColor | |
| PySide2.QtGui.QPixelFormat | pixelFormat (self, ixelFormat, self) |
| pixelFormat(self) -> PySide2.QtGui.QPixelFormat | |
| int | pixelIndex (self, ixelIndex, self, PySide2.QtCore.QPoint pt) |
| pixelIndex(self, pt: PySide2.QtCore.QPoint) -> int pixelIndex(self, x: int, y: int) -> int | |
| PySide2.QtCore.QRect | rect (self, ect, self) |
| rect(self) -> PySide2.QtCore.QRect | |
| bool | reinterpretAsFormat (self, einterpretAsFormat, self, PySide2.QtGui.QImage.Format f) |
| reinterpretAsFormat(self, f: PySide2.QtGui.QImage.Format) -> bool | |
| PySide2.QtGui.QImage | rgbSwapped (self, gbSwapped, self) |
| rgbSwapped(self) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | rgbSwapped_helper (self, gbSwapped_helper, self) |
| rgbSwapped_helper(self) -> PySide2.QtGui.QImage | |
| def | rgbSwapped_inplace (self, gbSwapped_inplace, self) |
| rgbSwapped_inplace(self) | |
| bool | save (self, ave, self, PySide2.QtCore.QIODevice device, typing.Union[bytes, NoneType] format=None, int quality=-1) |
| save(self, device: PySide2.QtCore.QIODevice, format: typing.Union[bytes, NoneType] = None, quality: int = -1) -> bool save(self, fileName: str, format: typing.Union[bytes, NoneType] = None, quality: int = -1) -> bool | |
| PySide2.QtGui.QImage | scaled (self, caled, self, PySide2.QtCore.QSize s, PySide2.QtCore.Qt.AspectRatioMode aspectMode=PySide2.QtCore.Qt.AspectRatioMode.IgnoreAspectRatio, PySide2.QtCore.Qt.TransformationMode mode=PySide2.QtCore.Qt.TransformationMode.FastTransformation) |
| scaled(self, s: PySide2.QtCore.QSize, aspectMode: PySide2.QtCore.Qt.AspectRatioMode = PySide2.QtCore.Qt.AspectRatioMode.IgnoreAspectRatio, mode: PySide2.QtCore.Qt.TransformationMode = PySide2.QtCore.Qt.TransformationMode.FastTransformation) -> PySide2.QtGui.QImage scaled(self, w: int, h: int, aspectMode: PySide2.QtCore.Qt.AspectRatioMode = PySide2.QtCore.Qt.AspectRatioMode.IgnoreAspectRatio, mode: PySide2.QtCore.Qt.TransformationMode = PySide2.QtCore.Qt.TransformationMode.FastTransformation) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | scaledToHeight (self, caledToHeight, self, int h, PySide2.QtCore.Qt.TransformationMode mode=PySide2.QtCore.Qt.TransformationMode.FastTransformation) |
| scaledToHeight(self, h: int, mode: PySide2.QtCore.Qt.TransformationMode = PySide2.QtCore.Qt.TransformationMode.FastTransformation) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QImage | scaledToWidth (self, caledToWidth, self, int w, PySide2.QtCore.Qt.TransformationMode mode=PySide2.QtCore.Qt.TransformationMode.FastTransformation) |
| scaledToWidth(self, w: int, mode: PySide2.QtCore.Qt.TransformationMode = PySide2.QtCore.Qt.TransformationMode.FastTransformation) -> PySide2.QtGui.QImage | |
| bytes | scanLine (self, canLine, self, int arg__1) |
| scanLine(self, arg__1: int) -> bytes | |
| def | setAlphaChannel (self, etAlphaChannel, self, PySide2.QtGui.QImage alphaChannel) |
| setAlphaChannel(self, alphaChannel: PySide2.QtGui.QImage) | |
| def | setColor (self, etColor, self, int i, int c) |
| setColor(self, i: int, c: int) | |
| def | setColorCount (self, etColorCount, self, int arg__1) |
| setColorCount(self, arg__1: int) | |
| def | setColorSpace (self, etColorSpace, self, PySide2.QtGui.QColorSpace arg__1) |
| setColorSpace(self, arg__1: PySide2.QtGui.QColorSpace) | |
| def | setColorTable (self, etColorTable, self, typing.List[int] colors) |
| setColorTable(self, colors: typing.List[int]) | |
| def | setDevicePixelRatio (self, etDevicePixelRatio, self, float scaleFactor) |
| setDevicePixelRatio(self, scaleFactor: float) | |
| def | setDotsPerMeterX (self, etDotsPerMeterX, self, int arg__1) |
| setDotsPerMeterX(self, arg__1: int) | |
| def | setDotsPerMeterY (self, etDotsPerMeterY, self, int arg__1) |
| setDotsPerMeterY(self, arg__1: int) | |
| def | setOffset (self, etOffset, self, PySide2.QtCore.QPoint arg__1) |
| setOffset(self, arg__1: PySide2.QtCore.QPoint) | |
| def | setPixel (self, etPixel, self, PySide2.QtCore.QPoint pt, int index_or_rgb) |
| setPixel(self, pt: PySide2.QtCore.QPoint, index_or_rgb: int) setPixel(self, x: int, y: int, index_or_rgb: int) | |
| def | setPixelColor (self, etPixelColor, self, PySide2.QtCore.QPoint pt, PySide2.QtGui.QColor c) |
| setPixelColor(self, pt: PySide2.QtCore.QPoint, c: PySide2.QtGui.QColor) setPixelColor(self, x: int, y: int, c: PySide2.QtGui.QColor) | |
| def | setText (self, etText, self, str key, str value) |
| setText(self, key: str, value: str) | |
| PySide2.QtCore.QSize | size (self, ize, self) |
| size(self) -> PySide2.QtCore.QSize | |
| int | sizeInBytes (self, izeInBytes, self) |
| sizeInBytes(self) -> int | |
| PySide2.QtGui.QImage | smoothScaled (self, moothScaled, self, int w, int h) |
| smoothScaled(self, w: int, h: int) -> PySide2.QtGui.QImage | |
| def | swap (self, wap, self, PySide2.QtGui.QImage other) |
| swap(self, other: PySide2.QtGui.QImage) | |
| str | text (self, ext, self, str key='') |
| text(self, key: str = '') -> str | |
| typing.List[str] | textKeys (self, extKeys, self) |
| textKeys(self) -> typing.List[str] | |
| PySide2.QtGui.QImage.Format | toImageFormattoImageFormat (PySide2.QtGui.QPixelFormat format) |
| toImageFormat(format: PySide2.QtGui.QPixelFormat) -> PySide2.QtGui.QImage.Format | |
| PySide2.QtGui.QPixelFormat | toPixelFormattoPixelFormat (PySide2.QtGui.QImage.Format format) |
| toPixelFormat(format: PySide2.QtGui.QImage.Format) -> PySide2.QtGui.QPixelFormat | |
| PySide2.QtGui.QImage | transformed (self, ransformed, self, PySide2.QtGui.QMatrix matrix, PySide2.QtCore.Qt.TransformationMode mode=PySide2.QtCore.Qt.TransformationMode.FastTransformation) |
| transformed(self, matrix: PySide2.QtGui.QMatrix, mode: PySide2.QtCore.Qt.TransformationMode = PySide2.QtCore.Qt.TransformationMode.FastTransformation) -> PySide2.QtGui.QImage transformed(self, matrix: PySide2.QtGui.QTransform, mode: PySide2.QtCore.Qt.TransformationMode = PySide2.QtCore.Qt.TransformationMode.FastTransformation) -> PySide2.QtGui.QImage | |
| PySide2.QtGui.QMatrix | trueMatrixtrueMatrix (PySide2.QtGui.QMatrix arg__1, int w, int h) |
| trueMatrix(arg__1: PySide2.QtGui.QMatrix, w: int, h: int) -> PySide2.QtGui.QMatrix trueMatrix(arg__1: PySide2.QtGui.QTransform, w: int, h: int) -> PySide2.QtGui.QTransform | |
| bool | valid (self, alid, self, PySide2.QtCore.QPoint pt) |
| valid(self, pt: PySide2.QtCore.QPoint) -> bool valid(self, x: int, y: int) -> bool | |
QImage(self) QImage(self, arg__1: PySide2.QtGui.QImage) QImage(self, arg__1: str, arg__2: int, arg__3: int, arg__4: PySide2.QtGui.QImage.Format) QImage(self, arg__1: str, arg__2: int, arg__3: int, arg__4: int, arg__5: PySide2.QtGui.QImage.Format) QImage(self, data: bytes, width: int, height: int, bytesPerLine: int, format: PySide2.QtGui.QImage.Format, cleanupFunction: typing.Union[typing.Callable, NoneType] = None, cleanupInfo: typing.Union[int, NoneType] = None) QImage(self, data: bytes, width: int, height: int, format: PySide2.QtGui.QImage.Format, cleanupFunction: typing.Union[typing.Callable, NoneType] = None, cleanupInfo: typing.Union[int, NoneType] = None) QImage(self, fileName: str, format: typing.Union[bytes, NoneType] = None) QImage(self, size: PySide2.QtCore.QSize, format: PySide2.QtGui.QImage.Format) QImage(self, width: int, height: int, format: PySide2.QtGui.QImage.Format) QImage(self, xpm: typing.Sequence[str])