Skip to content

PythonQt.QtGui.QPixelFormat · declarations 002

Back to PythonQt.QtGui.QPixelFormat

alphaSize

alphaSize() -> int

X.alphaSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::alphaSize() const

Accessor function for the alpha channel size.

Upstream PySide2 reference signatures (binding differences may apply):

alphaSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#alphaSize

alphaUsage

alphaUsage() -> Any

X.alphaUsage()

Supplemental documentation: Qt 5 reference:

QPixelFormat::AlphaUsage QPixelFormat::alphaUsage() const

Accessor function for alphaUsage.

Upstream PySide2 reference signatures (binding differences may apply):

alphaUsage(self) -> PySide2.QtGui.QPixelFormat.AlphaUsage

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#alphaUsage

bitsPerPixel

bitsPerPixel() -> int

X.bitsPerPixel() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::bitsPerPixel() const

Accessor function for the bits used per pixel. This function returns the sum of the color channels + the size of the alpha channel.

Upstream PySide2 reference signatures (binding differences may apply):

bitsPerPixel(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#bitsPerPixel

blackSize

blackSize() -> int

X.blackSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::blackSize() const

Accessor function for the black/key color channel.

Upstream PySide2 reference signatures (binding differences may apply):

blackSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#blackSize

blueSize

blueSize() -> int

X.blueSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::blueSize() const

Accessor function for the size of the blue color channel.

Upstream PySide2 reference signatures (binding differences may apply):

blueSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#blueSize

brightnessSize

brightnessSize() -> int

X.brightnessSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::brightnessSize() const

Accessor function for the brightness channel size.

Upstream PySide2 reference signatures (binding differences may apply):

brightnessSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#brightnessSize

byteOrder

byteOrder() -> Any

X.byteOrder()

Supplemental documentation: Qt 5 reference:

QPixelFormat::ByteOrder QPixelFormat::byteOrder() const

The byte order is almost always set the byte order of the current system. However, it can be useful to describe some YUV formats. This function should never return QPixelFormat::CurrentSystemEndian as this value is translated to a endian value in the constructor.

Upstream PySide2 reference signatures (binding differences may apply):

byteOrder(self) -> PySide2.QtGui.QPixelFormat.ByteOrder

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#byteOrder

channelCount

channelCount() -> int

X.channelCount() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::channelCount() const

Accessor function for getting the channelCount. Channel Count is deduced by color channels with a size > 0 and if the size of the alpha channel is > 0.

Upstream PySide2 reference signatures (binding differences may apply):

channelCount(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#channelCount

colorModel

colorModel() -> Any

X.colorModel()

Supplemental documentation: Qt 5 reference:

QPixelFormat::ColorModel QPixelFormat::colorModel() const

Accessor function for getting the colorModel.

Upstream PySide2 reference signatures (binding differences may apply):

colorModel(self) -> PySide2.QtGui.QPixelFormat.ColorModel

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#colorModel

cyanSize

cyanSize() -> int

X.cyanSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::cyanSize() const

Accessor function for the cyan color channel.

Upstream PySide2 reference signatures (binding differences may apply):

cyanSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#cyanSize

greenSize

greenSize() -> int

X.greenSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::greenSize() const

Accessor function for the size of the green color channel.

Upstream PySide2 reference signatures (binding differences may apply):

greenSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#greenSize

hueSize

hueSize() -> int

X.hueSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::hueSize() const

Accessor function for the hue channel size.

Upstream PySide2 reference signatures (binding differences may apply):

hueSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#hueSize

lightnessSize

lightnessSize() -> int

X.lightnessSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::lightnessSize() const

Accessor function for the lightness channel size.

Upstream PySide2 reference signatures (binding differences may apply):

lightnessSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#lightnessSize

magentaSize

magentaSize() -> int

X.magentaSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::magentaSize() const

Accessor function for the megenta color channel.

Upstream PySide2 reference signatures (binding differences may apply):

magentaSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#magentaSize

premultiplied

premultiplied() -> Any

X.premultiplied()

Supplemental documentation: Qt 5 reference:

QPixelFormat::AlphaPremultiplied QPixelFormat::premultiplied() const

Accessor function for the AlphaPremultiplied enum. This indicates if the alpha channel is multiplied in to the color channels.

Upstream PySide2 reference signatures (binding differences may apply):

premultiplied(self) -> PySide2.QtGui.QPixelFormat.AlphaPremultiplied

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#premultiplied

redSize

redSize() -> int

X.redSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::redSize() const

Accessor function for the size of the red color channel.

Upstream PySide2 reference signatures (binding differences may apply):

redSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#redSize

saturationSize

saturationSize() -> int

X.saturationSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::saturationSize() const

Accessor function for the saturation channel size.

Upstream PySide2 reference signatures (binding differences may apply):

saturationSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#saturationSize

subEnum

subEnum() -> int

X.subEnum() -> int

Upstream PySide2 reference signatures (binding differences may apply):

subEnum(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#subEnum

typeInterpretation

typeInterpretation() -> Any

X.typeInterpretation()

Supplemental documentation: Qt 5 reference:

QPixelFormat::TypeInterpretation QPixelFormat::typeInterpretation() const

Accessor function for the type representation of a color channel or a pixel.

See also TypeInterpretation.

Upstream PySide2 reference signatures (binding differences may apply):

typeInterpretation(self) -> PySide2.QtGui.QPixelFormat.TypeInterpretation

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#typeInterpretation

yellowSize

yellowSize() -> int

X.yellowSize() -> int

Supplemental documentation: Qt 5 reference:

uchar QPixelFormat::yellowSize() const

Accessor function for the yellow color channel.

Upstream PySide2 reference signatures (binding differences may apply):

yellowSize(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#yellowSize

yuvLayout

yuvLayout() -> Any

X.yuvLayout()

Supplemental documentation: Qt 5 reference:

QPixelFormat::YUVLayout QPixelFormat::yuvLayout() const

Accessor function for the YUVLayout. It is difficult to describe the color channels of a YUV pixel format since YUV color model uses macro pixels. Instead the layout of the pixels are stored as an enum.

Upstream PySide2 reference signatures (binding differences may apply):

yuvLayout(self) -> PySide2.QtGui.QPixelFormat.YUVLayout

Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#yuvLayout