• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KImgIO

  • sources
  • kde-4.14
  • kdelibs
  • kimgio
jp2.h
Go to the documentation of this file.
1 
7 #ifndef KIMG_JP2_H
8 #define KIMG_JP2_H
9 
10 #include <QtGui/QImageIOPlugin>
11 
12 class JP2Handler : public QImageIOHandler
13 {
14 public:
15  JP2Handler();
16  virtual ~JP2Handler();
17 
18  bool canRead() const;
19  bool read(QImage *image);
20  bool write(const QImage &image);
21 
22  QByteArray name() const;
23  bool supportsOption(ImageOption option) const;
24  QVariant option(ImageOption option) const;
25  void setOption(ImageOption option, const QVariant &value);
26 
27  static bool canRead(QIODevice *device);
28 private:
29  int quality;
30 };
31 
32 
33 #endif
QIODevice
JP2Handler::setOption
void setOption(ImageOption option, const QVariant &value)
Definition: jp2.cpp:460
QImageIOHandler::device
QIODevice * device() const
QByteArray
JP2Handler::read
bool read(QImage *image)
Definition: jp2.cpp:426
JP2Handler
QImageIO Routines to read/write JPEG2000 images.
Definition: jp2.h:12
JP2Handler::name
QByteArray name() const
Definition: jp2.cpp:466
JP2Handler::canRead
bool canRead() const
Definition: jp2.cpp:409
JP2Handler::JP2Handler
JP2Handler()
Definition: jp2.cpp:398
JP2Handler::supportsOption
bool supportsOption(ImageOption option) const
Definition: jp2.cpp:448
QImageIOHandler
JP2Handler::write
bool write(const QImage &image)
Definition: jp2.cpp:443
QImage
JP2Handler::option
QVariant option(ImageOption option) const
Definition: jp2.cpp:453
JP2Handler::~JP2Handler
virtual ~JP2Handler()
Definition: jp2.cpp:404
QVariant
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KImgIO

Skip menu "KImgIO"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal