KImgIO
pic_write.cpp
Go to the documentation of this file.
42static bool writeHeader(QIODevice *dev, std::string msg, unsigned width, unsigned height, bool alpha) {
103static bool encodeRLE(const unsigned *image, unsigned char *output, bool rgb, unsigned max, unsigned &oConsumed, unsigned &oProduced) {
#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 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
void pic_write(QIODevice *dev, const QImage *img)
Pic write handler for Qt / KDE.
Definition: pic_write.cpp:213
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
static bool writeRow(QIODevice *dev, unsigned *row, unsigned width, bool alpha)
Writes a row to the file.
Definition: pic_write.cpp:168
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.