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

KImgIO

EXRHandler Class Reference

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

#include <exr.h>

Inheritance diagram for EXRHandler:

Inheritance graph
[legend]

List of all members.


Public Member Functions

bool canRead () const
 EXRHandler ()
QByteArray name () const
bool read (QImage *outImage)
bool write (const QImage &image)

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@frogmouth.net>

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 ( QIODevice *  device  )  [static]

Convenience routine.

You should use canRead() instead.

Definition at line 219 of file exr.cpp.

bool EXRHandler::canRead (  )  const

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

Definition at line 153 of file exr.cpp.

QByteArray EXRHandler::name (  )  const

The name of this plugin.

Returns:
always returns "exr" for this plugin

Definition at line 162 of file exr.cpp.

bool EXRHandler::read ( QImage *  outImage  ) 

Read contents from the file / stream into an image.

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

Reimplemented from QImageIOHandler.

Definition at line 168 of file exr.cpp.

bool EXRHandler::write ( const QImage &  image  ) 

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

Parameters:
image the 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

KImgIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal