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
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQImageWriter::ImageWriterError
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionQImageWriter
(String fileName) Overloaded constructor forQImageWriter(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageWriter
(String fileName, QByteArray format) QImageWriter
(QIODevice device, QByteArray format) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
canWrite()
final int
final QIODevice
device()
error()
final String
final String
fileName()
final QByteArray
format()
final float
gamma()
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
setGamma
(float gamma) 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
-
-
Method Details
-
canWrite
-
compression
-
device
-
error
-
errorString
-
fileName
-
format
-
gamma
-
optimizedWrite
-
progressiveScanWrite
-
quality
-
setCompression
-
setDevice
-
setFileName
-
setFormat
-
setGamma
-
setOptimizedWrite
-
setProgressiveScanWrite
-
setQuality
-
setSubType
-
setText
-
setTransformation
Overloaded function for
setTransformation(io.qt.gui.QImageIOHandler.Transformations)
. -
setTransformation
-
subType
-
supportedSubTypes
-
supportsOption
-
transformation
-
write
-
imageFormatsForMimeType
-
supportedImageFormats
-
supportedMimeTypes
-