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 void setOption(ImageOption option, const QVariant &value); 00026 00027 static bool canRead(QIODevice *device); 00028 private: 00029 int quality; 00030 }; 00031 00032 00033 #endif
KDE 4.7 API Reference