2 * QImageIO Routines to read/write XV images.
3 * copyright (c) 1998 Torben Weis <weis@kde.org>
4 * copyright (c) 1999 Oliver Eiden <o.eiden@pop.ruhr.de>
6 * This library is distributed under the conditions of the GNU LGPL.
10 * 23.3.99 Oliver Eiden <o.eiden@pop.ruhr.de>
11 * changed the mapping from 3-3-2 decoded pixels to 8-8-8 decoded true-color pixels
12 * now it uses the same mapping as xv, this leads to better visual results
13 * Patch merged in HEAD by Chris Spiegel <matrix@xirtam.org>
19 #include <QtGui/QImageIOPlugin>
21 class XVHandler
: public QImageIOHandler
27 bool read(QImage
*image
);
28 bool write(const QImage
&image
);
30 QByteArray
name() const;
32 static bool canRead(QIODevice
*device
);