Public Member Functions | Static Public Member Functions | List of all members
Celartem::DjVu::ImageSet Class Referenceabstract

#include <djv_image.h>

Inheritance diagram for Celartem::DjVu::ImageSet:
Inheritance graph
[legend]

Public Member Functions

virtual size_t getCount () const =0
 
virtual AutoPtr< ImagegetImage (size_t inIndex) const =0
 
virtual AutoPtr< ImagegetImageRgba (size_t inIndex) const =0
 
- Public Member Functions inherited from Celartem::Referable
 Referable ()
 
void addRef () const
 
void releaseRef () const
 
size_t getReferenceCount () const
 

Static Public Member Functions

static AutoPtr< ImageSetload (const String &inFileNameOrUrl)
 
static AutoPtr< ImageSetload (Storage *inStorage)
 
- Static Public Member Functions inherited from Celartem::Referable
static void dumpDbgAllRefCount ()
 

Detailed Description

This class represents a set of images, typically loaded from a file.

Member Function Documentation

virtual size_t Celartem::DjVu::ImageSet::getCount ( ) const
pure virtual

Get the number of images on the ImageSet instance.

Returns
The number of images.
virtual AutoPtr<Image> Celartem::DjVu::ImageSet::getImage ( size_t  inIndex) const
pure virtual

Get the image of the specified index.

Parameters
inIndex0-based index of the image to load.
Returns
Pointer to the Image instance.
virtual AutoPtr<Image> Celartem::DjVu::ImageSet::getImageRgba ( size_t  inIndex) const
pure virtual

Get the image of the specified index in pre-multiplied RGBA.
Image::getPhotometric returns pm4bpp.

Parameters
inIndex0-based index of the image to load.
Returns
Pointer to the Image instance.
static AutoPtr<ImageSet> Celartem::DjVu::ImageSet::load ( const String inFileNameOrUrl)
static

Load the specified image file.

Parameters
inFileNameOrUrlLocal file path or HTTP/HTTPS based URL.
Returns
Pointer to the newly created ImageSet instance.
static AutoPtr<ImageSet> Celartem::DjVu::ImageSet::load ( Storage inStorage)
static

Load the specified image file.

Parameters
inStorageStorage of an image file.
Returns
Pointer to the newly created ImageSet instance.

The documentation for this class was generated from the following file:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo