Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Attributes | List of all members
ImageLoadOptions Class Reference

Defines the options to use when loading a file. More...

Public Attributes

CoreString file_color_space
 Color correction that will be applied during load.
 
bool pre_multiply
 Should the load process pre-multiply colors with alpha ?
 
int single_channel_file_behavior
 Interpretation of single channel files. Possible choices are:
 
bool with_alpha
 Tell the load function to add an opaque alpha channel in the ImageCanvas if no alpha layers exists in the file.
 
CoreArray< CoreString > * rgba_channels
 When loading with custom channels (Aov for examples), this parameter tells the load function to load only the specified channels, and to write them in RGBA channels. First channel goes into 'R', second in 'G', etc...
If no list is supplied, all channels are loaded and names are respected.
 

Detailed Description

Defines the options to use when loading a file.

Member Data Documentation

int ImageLoadOptions::single_channel_file_behavior

Interpretation of single channel files. Possible choices are:

  • Use File Channel Name "0": loads the channel using the name it has in the file.
  • Force Luminance "1": loads the channel as luminance
  • Force Alpha "2": loads the channel as alpha
  • Force Force Luminance + Alpha "3": loads the channel in both alpha and luminance