KImgIO
exr.h
Go to the documentation of this file.00001
00011 #ifndef KIMG_EXR_H
00012 #define KIMG_EXR_H
00013
00014 #include <QtGui/QImageIOPlugin>
00015
00016 class EXRHandler : public QImageIOHandler
00017 {
00018 public:
00019 EXRHandler();
00020
00024 bool canRead() const;
00025
00034 bool read( QImage *outImage );
00035
00043 bool write( const QImage &image );
00044
00050 QByteArray name() const;
00051
00055 static bool canRead( QIODevice *device );
00056 };
00057
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 class EXRPlugin : public QImageIOPlugin
00060 {
00061 public:
00062 QStringList keys() const;
00063 Capabilities capabilities(QIODevice *device, const QByteArray &format) const;
00064 QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const;
00065 };
00066 #endif
00067
00068 #endif