KImgIO
pcx.cpp
Go to the documentation of this file.
614 QImageIOPlugin::Capabilities PCXPlugin::capabilities(QIODevice *device, const QByteArray &format) const
uchar * scanLine(int i)
QImage convertToFormat(Format format, QFlags< Qt::ImageConversionFlag > flags) const
typedef Capabilities
Definition: pcx.h:19
bool isWritable() const
virtual QImageIOHandler * create(QIODevice *device, const QByteArray &format) const =0
QIODevice * device() const
virtual bool seek(qint64 pos)
QByteArray & fill(char ch, int size)
int depth() const
bool isEmpty() const
QRgb color(int i) const
static void readImage8(QImage &img, QDataStream &s, const PCXHEADER &header)
Definition: pcx.cpp:220
bool isNull() const
bool isReadable() const
static void readImage24(QImage &img, QDataStream &s, const PCXHEADER &header)
Definition: pcx.cpp:259
virtual bool isSequential() const
void setColor(int index, QRgb colorValue)
virtual qint64 pos() const
void setNumColors(int numColors)
virtual qint64 size() const
int width() const
void setDevice(QIODevice *device)
qint64 read(char *data, qint64 maxSize)
bool isOpen() const
virtual Capabilities capabilities(QIODevice *device, const QByteArray &format) const =0
static void writeImage8(QImage &img, QDataStream &s, PCXHEADER &header)
Definition: pcx.cpp:374
bool atEnd() const
static void readImage1(QImage &img, QDataStream &s, const PCXHEADER &header)
Definition: pcx.cpp:156
int numBytes() const
static void writeImage24(QImage &img, QDataStream &s, PCXHEADER &header)
Definition: pcx.cpp:403
static void writeImage1(QImage &img, QDataStream &s, PCXHEADER &header)
Definition: pcx.cpp:315
int bytesPerLine() const
void setByteOrder(ByteOrder bo)
virtual QStringList keys() const =0
static void readLine(QDataStream &s, QByteArray &buf, const PCXHEADER &header)
Definition: pcx.cpp:123
void setFormat(const QByteArray &format)
int height() const
QIODevice * device() const
int size() const
int numColors() const
void ungetChar(char c)
static void readImage4(QImage &img, QDataStream &s, const PCXHEADER &header)
Definition: pcx.cpp:183
static void writeImage4(QImage &img, QDataStream &s, PCXHEADER &header)
Definition: pcx.cpp:339
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.