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

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

Classes

Public Member Functions

 ImageSaveOptions (const ImageSaveOptions &src, const bool &with_metadata=true)
 
bool is_file_exr () const
 
void fill_metadata (CoreString object_name, CoreString metadata, bool add=true)
 
void add_image_canvas_meta_data (const ImageCanvas &image_canvas)
 

Public Attributes

float aspect_ratio
 
CoreString file_color_space
 Color correction that will be applied during save.
 
CoreArray< CoreString > * rgba_channels
 When loading with custom channels (Aov for examples), this parameter tells the save function to save 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, in EXR/TIFF: all channels are saved and names are respected, in other, only RGBA is saved.
 
ImageIOFileFormat::Save format
 
CoreArray< MetaDatacustom_metadata
 
ImageIOFileFormat::OpenExrCompressionMethod compress_pref
 

Detailed Description

Defines the options to use when saving a file.


Class Documentation

struct ImageSaveOptions::MetaData
Class Members
CoreString name
CoreVector< CoreVariant > values