| Home | ![]() |
This is the verbatim text of the qtjp2imageformat.h include file. It is provided only for illustration; the copyright remains with Trolltech.
#ifndef QTJPEG2000IMAGEFORMAT_H
#define QTJPEG2000IMAGEFORMAT_H
#include <qimageformatplugin.h>
#include <qiodevice.h>
class QtJP2ImageFormat
{
public:
enum SubFormat { Jp2Format, J2kFormat };
static QImage read(const QString &fileName);
static QImage read(QIODevice *ioDevice);
static bool write(const QString &fileName, QImage image, SubFormat format = Jp2Format);
static bool write(QIODevice *ioDevice, QImage image, SubFormat format = Jp2Format);
static void installIOHandler();
};
#endif
| Copyright © 2003-2004 Trolltech | Trademarks | Qt Solutions
|