fix static positioning of positioned inline replaced elements.
[kdelibs.git] / kimgio / jp2.h
blobfdfe8a10ca5e8ec22201797c01f98dc4d26706ab
1 /**
2 * QImageIO Routines to read/write JPEG2000 images.
3 * copyright (c) 2002 Michael Ritzert <michael@ritzert.de>
5 * This library is distributed under the conditions of the GNU LGPL.
6 */
7 #ifndef KIMG_JP2_H
8 #define KIMG_JP2_H
10 #include <QtGui/QImageIOPlugin>
12 class JP2Handler : public QImageIOHandler
14 public:
15 JP2Handler();
16 virtual ~JP2Handler();
18 bool canRead() const;
19 bool read(QImage *image);
20 bool write(const QImage &image);
22 QByteArray name() const;
23 bool supportsOption(ImageOption option) const;
24 QVariant option(ImageOption option) const;
26 static bool canRead(QIODevice *device);
27 private:
28 int quality;
32 #endif