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

KImgIO

Public Member Functions | Static Public Member Functions | List of all members
EXRHandler Class Reference

#include <exr.h>

Inheritance diagram for EXRHandler:
Inheritance graph
[legend]

Public Member Functions

 EXRHandler ()
 
bool canRead () const
 
QByteArray name () const
 
bool read (QImage *outImage)
 
bool write (const QImage &image)
 
- Public Member Functions inherited from QImageIOHandler
 QImageIOHandler ()
 
virtual  ~QImageIOHandler ()
 
virtual bool canRead () const =0
 
virtual int currentImageNumber () const
 
virtual QRect currentImageRect () const
 
QIODevice * device () const
 
QByteArray format () const
 
virtual int imageCount () const
 
virtual bool jumpToImage (int imageNumber)
 
virtual bool jumpToNextImage ()
 
virtual int loopCount () const
 
virtual int nextImageDelay () const
 
virtual QVariant option (ImageOption option) const
 
virtual bool read (QImage *image)=0
 
void setDevice (QIODevice *device)
 
void setFormat (const QByteArray &format)
 
void setFormat (const QByteArray &format) const
 
virtual void setOption (ImageOption option, const QVariant &value)
 
virtual bool supportsOption (ImageOption option) const
 

Static Public Member Functions

static bool canRead (QIODevice *device)
 

Detailed Description

QImageIO Routines to read (and perhaps in the future, write) images in the high definition EXR format.

Copyright (c) 2003, Brad Hards bradh.nosp@m.@fro.nosp@m.gmout.nosp@m.h.ne.nosp@m.t

This library is distributed under the conditions of the GNU LGPL.

Definition at line 16 of file exr.h.

Constructor & Destructor Documentation

EXRHandler::EXRHandler ( )

Definition at line 149 of file exr.cpp.

Member Function Documentation

bool EXRHandler::canRead ( ) const

Test if the file / stream can potentially read more data.

Definition at line 153 of file exr.cpp.

bool EXRHandler::canRead ( QIODevice *  device)
static

Convenience routine.

You should use canRead() instead.

Definition at line 219 of file exr.cpp.

QByteArray EXRHandler::name ( ) const
virtual

The name of this plugin.

Returns
always returns "exr" for this plugin

Reimplemented from QImageIOHandler.

Definition at line 162 of file exr.cpp.

bool EXRHandler::read ( QImage *  outImage)

Read contents from the file / stream into an image.

Parameters
outImagepointer to the QImage that the file / stream will be read into
Returns
true on a successful read, false on failure

Definition at line 168 of file exr.cpp.

bool EXRHandler::write ( const QImage &  image)
virtual

Write the contents of an image into the file / stream.

Parameters
imagethe image to write out
Returns
true on a successful write, false on failure

Reimplemented from QImageIOHandler.

Definition at line 211 of file exr.cpp.


The documentation for this class was generated from the following files:
  • exr.h
  • exr.cpp
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