DzImageImporter Class Reference
[File Input and Output Objects]

Base class for all image importers. More...

Inheritance diagram for DzImageImporter:

DzFileIO DzBase QObject Object DzLayeredImageImporter List of all members.

Methods

String getDescription ()
String getExtension (Number i)
Number getNumExtensions ()
DzError loadImage (String filename, Image image, DzFileIOSettings options)
DzError loadImage (String filename, Image image)
Boolean recognize (String filename)

Detailed Description

Base class for all image importers.


Member Function Documentation

String DzImageImporter::getDescription (  ) 

Returns:
A description of the importer that can be placed in a file type selection combo box (e.g. "JPEG Format").

String DzImageImporter::getExtension ( Number  i  ) 

Returns:
The file extension (excluding the preceding dot) supported by this importer.

Number DzImageImporter::getNumExtensions (  ) 

Returns:
The number of supported file extensions for this importer.

DzError DzImageImporter::loadImage ( String  filename,
Image  image,
DzFileIOSettings  options 
)

Reads the file.

Parameters:
filename The name of the file to read.
image Image to read data into.

DzError DzImageImporter::loadImage ( String  filename,
Image  image 
)

Reads the file.

Parameters:
filename The name of the file to read.
image Image to read data into.

Boolean DzImageImporter::recognize ( String  filename  ) 

Test the given filename and file contents to see if this importer can read it.

Returns:
true if the importer can import the file, otherwise false.


Generated on Thu Sep 24 12:21:12 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.