Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Static Public Member Functions | List of all members
ImageIOFileFormat Class Reference
Inheritance diagram for ImageIOFileFormat:
CoreBaseType

Public Types

enum  Save {
  SAVE_OPEN_EXR_16 = 0,
  SAVE_OPEN_EXR_32,
  SAVE_JPEG,
  SAVE_BITMAP,
  SAVE_TARGA,
  SAVE_PNG_8,
  SAVE_PNG_16,
  SAVE_TIFF_8,
  SAVE_TIFF_16,
  SAVE_TIFF_32,
  SAVE_COUNT,
  SAVE_UNKNOWN = SAVE_COUNT
}
 
enum  OpenExrCompressionMethod {
  DEFAULT_COMPRESSION = 0,
  FIRST_COMPRESSION,
  NO_COMPRESSION = FIRST_COMPRESSION,
  RLE_COMPRESSION,
  ZIPS_COMPRESSION,
  ZIP_COMPRESSION,
  PIZ_COMPRESSION,
  PXR24_COMPRESSION,
  B44_COMPRESSION,
  B44A_COMPRESSION,
  DWAA_COMPRESSION,
  DWAB_COMPRESSION,
  COMPRESSION_COUNT,
  COMPRESSION_UNKNOWN = COMPRESSION_COUNT
}
 
enum  Load {
  LOAD_OPEN_EXR = 0,
  LOAD_JPEG,
  LOAD_BITMAP,
  LOAD_TARGA,
  LOAD_PNG,
  LOAD_TIFF,
  LOAD_TX,
  LOAD_HDR,
  LOAD_COUNT,
  LOAD_UNKNOWN = LOAD_COUNT
}
 

Static Public Member Functions

static const char * get_compression_name (const OpenExrCompressionMethod &compression_format)
 
static const char * get_save_name (const Save &file_format)
 
static bool is_extension_valid (const CoreString &ext)
 
static unsigned int get_bytes_per_channel (const Save &file_format)
 
static const char * get_load_name (const Load &file_format)
 
static const char * get_short_name (const Save &file_format)
 
static const char * get_short_name (const OpenExrCompressionMethod &compression)
 
static OpenExrCompressionMethod get_compression_from_short_name (const CoreString &sname)
 
static Save get_save_from_short_name (const CoreString &sname)
 
static Save get_save_from_extension (const CoreString &ext)
 
static CoreVector< CoreStringget_save_extensions (const Save &file_format)
 
static CoreVector< CoreStringget_load_extensions (const Load &file_format)
 
static CoreString get_extension_file_filters_for_save_file ()
 
static CoreString get_extension_file_filters_for_open_file ()
 
static CoreVector< CoreString > & get_supported_extensions ()
 
static CoreString construct_layer_file_name (const CoreString &filename, const CoreString &layer_name)
 
static CoreString construct_tile_file_name (const CoreString &filename, int count, int idx)
 
- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.
 

Additional Inherited Members

- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Member Function Documentation

CoreString ImageIOFileFormat::construct_layer_file_name ( const CoreString filename,
const CoreString layer_name 
)
static

!! filepath should not be empty