KImgIO
pic_write.cpp
Go to the documentation of this file.
42 static bool writeHeader(QIODevice *dev, std::string msg, unsigned width, unsigned height, bool alpha) {
103 static bool encodeRLE(const unsigned *image, unsigned char *output, bool rgb, unsigned max, unsigned &oConsumed, unsigned &oProduced) {
uchar * scanLine(int i)
bool hasAlphaChannel() const
#define PIC_MAGIC_NUMBER
PIC_RW - Qt PIC Support Copyright (C) 2007 Ruben Lopez r.lopez@bren.es
Definition: pic_rw.h:31
static bool writeRow(QIODevice *dev, unsigned *row, unsigned width, bool alpha)
Writes a row to the file.
Definition: pic_write.cpp:168
int width() const
Definition: pic_rw.h:52
void pic_write(QIODevice *dev, const QImage *img)
Pic write handler for Qt / KDE.
Definition: pic_write.cpp:213
Definition: pic_rw.h:61
Definition: pic_rw.h:44
static bool encodeRLE(const unsigned *image, unsigned char *output, bool rgb, unsigned max, unsigned &oConsumed, unsigned &oProduced)
Encodes a portion of the image in RLE coding.
Definition: pic_write.cpp:103
qint64 write(const char *data, qint64 maxSize)
Definition: pic_rw.h:60
int height() const
static bool writeHeader(QIODevice *dev, std::string msg, unsigned width, unsigned height, bool alpha)
PIC_RW - Qt PIC Support Copyright (C) 2007 Ruben Lopez r.lopez@bren.es
Definition: pic_write.cpp:42
Definition: pic_rw.h:62
Definition: pic_rw.h:59
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.