KImgIO
jp2.h
Go to the documentation of this file.00001
00007 #ifndef KIMG_JP2_H
00008 #define KIMG_JP2_H
00009
00010 #include <QtGui/QImageIOPlugin>
00011
00012 class JP2Handler : public QImageIOHandler
00013 {
00014 public:
00015 JP2Handler();
00016 virtual ~JP2Handler();
00017
00018 bool canRead() const;
00019 bool read(QImage *image);
00020 bool write(const QImage &image);
00021
00022 QByteArray name() const;
00023 bool supportsOption(ImageOption option) const;
00024 QVariant option(ImageOption option) const;
00025
00026 static bool canRead(QIODevice *device);
00027 private:
00028 int quality;
00029 };
00030
00031
00032 #endif