java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QImageWriter
- All Implemented Interfaces:
QtObjectInterface
public class QImageWriter extends QtObject
Format independent interface for writing images to files or other devices
Java wrapper for Qt class QImageWriter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QImageWriter.ImageWriterError
Java wrapper for Qt enum QImageWriter::ImageWriterError -
Constructor Summary
Constructors Modifier Constructor Description QImageWriter()
QImageWriter(QIODevice device, QByteArray format)
protected
QImageWriter(QtObject.QPrivateConstructor p)
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
-
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
-
gamma
Deprecated.Use QColorSpace instead -
optimizedWrite
-
progressiveScanWrite
-
quality
-
setCompression
-
setDevice
-
setFileName
-
setFormat
-
setGamma
Deprecated.Use QColorSpace instead -
setOptimizedWrite
-
setProgressiveScanWrite
-
setQuality
-
setSubType
-
setText
-
setTransformation
Overloaded function for
setTransformation(io.qt.gui.QImageIOHandler.Transformations)
. -
setTransformation
-
subType
-
supportedSubTypes
-
supportsOption
-
transformation
-
write
-
imageFormatsForMimeType
-
supportedImageFormats
-
supportedMimeTypes
-