java.lang.Object
io.qt.QtObject
io.qt.gui.QImageWriter
- All Implemented Interfaces:
QtObjectInterface
Format independent interface for writing images to files or other devices
Java wrapper for Qt class QImageWriter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQImageWriter::ImageWriterError
-
Constructor Summary
ConstructorDescriptionQImageWriter
(QIODevice device, byte [] format) Overloaded constructor forQImageWriter(io.qt.core.QIODevice, io.qt.core.QByteArray)
.QImageWriter
(QIODevice device, QByteArray format) QImageWriter
(String fileName) Overloaded constructor forQImageWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageWriter
(String fileName, byte [] format) Overloaded constructor forQImageWriter(java.lang.String, io.qt.core.QByteArray)
.QImageWriter
(String fileName, QByteArray format) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
canWrite()
final int
final QIODevice
device()
error()
final String
final String
fileName()
final QByteArray
format()
static QList
<QByteArray> imageFormatsForMimeType
(byte [] mimeType) Overloaded function forimageFormatsForMimeType(io.qt.core.QByteArray)
.static QList
<QByteArray> imageFormatsForMimeType
(QByteArray mimeType) final boolean
final boolean
final int
quality()
final void
setCompression
(int compression) 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
setOptimizedWrite
(boolean optimize) final void
setProgressiveScanWrite
(boolean progressive) final void
setQuality
(int quality) final void
setSubType
(byte [] type) Overloaded function forsetSubType(io.qt.core.QByteArray)
.final void
setSubType
(QByteArray type) final void
final void
setTransformation
(QImageIOHandler.Transformation ... orientation) Overloaded function forsetTransformation(io.qt.gui.QImageIOHandler.Transformations)
.final void
setTransformation
(QImageIOHandler.Transformations orientation) final QByteArray
subType()
static QList
<QByteArray> static QList
<QByteArray> final QList
<QByteArray> final boolean
final boolean
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QImageWriter
public QImageWriter() -
QImageWriter
-
QImageWriter
-
QImageWriter
Overloaded constructor for
QImageWriter(io.qt.core.QIODevice, io.qt.core.QByteArray)
. -
QImageWriter
Overloaded constructor for
QImageWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QImageWriter
Overloaded constructor for
QImageWriter(java.lang.String, io.qt.core.QByteArray)
.
-
-
Method Details
-
canWrite
-
compression
-
device
-
error
-
errorString
-
fileName
-
format
-
optimizedWrite
-
progressiveScanWrite
-
quality
-
setCompression
-
setDevice
-
setFileName
-
setFormat
-
setOptimizedWrite
-
setProgressiveScanWrite
-
setQuality
-
setSubType
-
setText
-
setTransformation
-
subType
-
supportedSubTypes
-
supportsOption
-
transformation
-
write
-
imageFormatsForMimeType
-
supportedImageFormats
-
supportedMimeTypes
-
setFormat
Overloaded function for
setFormat(io.qt.core.QByteArray)
. -
setSubType
Overloaded function for
setSubType(io.qt.core.QByteArray)
. -
setTransformation
Overloaded function for
setTransformation(io.qt.gui.QImageIOHandler.Transformations)
. -
imageFormatsForMimeType
Overloaded function for
imageFormatsForMimeType(io.qt.core.QByteArray)
.
-