java.lang.Object
io.qt.internal.QtJambiObject
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 enum QImageWriter::ImageWriterErrorNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQImageWriter
(QIODevice device, QByteArray format) protected
Constructor for internal use only.QImageWriter
(String fileName) Overloaded constructor forQImageWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new 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
(QByteArray mimeType) final boolean
final boolean
final int
quality()
final void
setCompression
(int compression) final void
final void
setFileName
(String fileName) final void
setFormat
(QByteArray format) final void
setOptimizedWrite
(boolean optimize) final void
setProgressiveScanWrite
(boolean progressive) final void
setQuality
(int quality) 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
Overloaded constructor for
QImageWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QImageWriter
-
QImageWriter
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
canWrite
-
compression
-
device
-
error
-
errorString
-
fileName
-
format
-
optimizedWrite
-
progressiveScanWrite
-
quality
-
setCompression
-
setDevice
-
setFileName
-
setFormat
-
setOptimizedWrite
-
setProgressiveScanWrite
-
setQuality
-
setSubType
-
setText
-
setTransformation
Overloaded function for
setTransformation(io.qt.gui.QImageIOHandler.Transformations)
. -
setTransformation
-
subType
-
supportedSubTypes
-
supportsOption
-
transformation
-
write
-
imageFormatsForMimeType
-
supportedImageFormats
-
supportedMimeTypes
-