- All Implemented Interfaces:
QtObjectInterface
Format independent interface for reading images from files or other devices
Java wrapper for Qt class QImageReader
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQImageReader::ImageReaderError
-
Constructor Summary
ConstructorDescriptionQImageReader
(QIODevice device) Overloaded constructor forQImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageReader
(QIODevice device, byte [] format) Overloaded constructor forQImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
.QImageReader
(QIODevice device, QByteArray format) QImageReader
(String fileName) Overloaded constructor forQImageReader(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageReader
(String fileName, byte [] format) Overloaded constructor forQImageReader(java.lang.String, io.qt.core.QByteArray)
.QImageReader
(String fileName, QByteArray format) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
final boolean
final boolean
final QColor
final boolean
canRead()
final QRect
clipRect()
final int
final QRect
final boolean
final QIODevice
device()
error()
final String
final String
fileName()
final QByteArray
format()
final int
final QImage.Format
static QByteArray
imageFormat
(QIODevice device) static QByteArray
imageFormat
(String fileName) static QList<QByteArray>
imageFormatsForMimeType
(byte [] mimeType) Overloaded function forimageFormatsForMimeType(io.qt.core.QByteArray)
.static QList<QByteArray>
imageFormatsForMimeType
(QByteArray mimeType) final boolean
jumpToImage
(int imageNumber) final boolean
final int
final int
final int
quality()
final QImage
read()
final QRect
final QSize
static void
setAllocationLimit
(int mbLimit) final void
setAutoDetectImageFormat
(boolean enabled) final void
setAutoTransform
(boolean enabled) final void
setBackgroundColor
(Qt.GlobalColor color) Overloaded function forsetBackgroundColor(io.qt.gui.QColor)
.final void
setBackgroundColor
(QColor color) final void
setBackgroundColor
(QRgba64 color) Overloaded function forsetBackgroundColor(io.qt.gui.QColor)
.final void
setBackgroundColor
(String color) Overloaded function forsetBackgroundColor(io.qt.gui.QColor)
.final void
setClipRect
(QRect rect) final void
setDecideFormatFromContent
(boolean ignored) final void
final void
setFileName
(String fileName) final void
setFormat
(byte [] format) Overloaded function forsetFormat(io.qt.core.QByteArray)
.final void
setFormat
(QByteArray format) final void
setQuality
(int quality) final void
setScaledClipRect
(QRect rect) final void
setScaledSize
(QSize size) final QSize
size()
final QByteArray
subType()
static QList<QByteArray>
static QList<QByteArray>
final QList<QByteArray>
final boolean
final boolean
final String
final QStringList
textKeys()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QImageReader
public QImageReader() -
QImageReader
-
QImageReader
-
QImageReader
Overloaded constructor for
QImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QImageReader
Overloaded constructor for
QImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
. -
QImageReader
Overloaded constructor for
QImageReader(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QImageReader
Overloaded constructor for
QImageReader(java.lang.String, io.qt.core.QByteArray)
.
-
-
Method Details
-
autoDetectImageFormat
-
autoTransform
-
backgroundColor
-
canRead
-
clipRect
-
currentImageNumber
-
currentImageRect
-
decideFormatFromContent
-
device
-
error
-
errorString
-
fileName
-
format
-
imageCount
-
imageFormat
-
jumpToImage
-
jumpToNextImage
-
loopCount
-
nextImageDelay
-
quality
-
read
-
scaledClipRect
-
scaledSize
-
setAutoDetectImageFormat
-
setAutoTransform
-
setBackgroundColor
-
setClipRect
-
setDecideFormatFromContent
-
setDevice
-
setFileName
-
setFormat
-
setQuality
-
setScaledClipRect
-
setScaledSize
-
size
-
subType
-
supportedSubTypes
-
supportsAnimation
-
supportsOption
-
text
-
textKeys
-
transformation
-
allocationLimit
public static int allocationLimit()See
QImageReader::
allocationLimit() This function was introduced in Qt 6.0.
-
imageFormat
-
imageFormat
-
imageFormatsForMimeType
-
setAllocationLimit
public static void setAllocationLimit(int mbLimit) See
QImageReader::
setAllocationLimit(int) This function was introduced in Qt 6.0.
-
supportedImageFormats
-
supportedMimeTypes
-
setBackgroundColor
Overloaded function for
setBackgroundColor(io.qt.gui.QColor)
. -
setBackgroundColor
Overloaded function for
setBackgroundColor(io.qt.gui.QColor)
. -
setBackgroundColor
Overloaded function for
setBackgroundColor(io.qt.gui.QColor)
. -
setFormat
Overloaded function for
setFormat(io.qt.core.QByteArray)
. -
imageFormatsForMimeType
Overloaded function for
imageFormatsForMimeType(io.qt.core.QByteArray)
.
-