ColorSpaceInterface Class Reference

#include <gfx_image_colorspace.h>

Inheritance diagram for ColorSpaceInterface:

Detailed Description

Interface class for color spaces. At the moment this class has no elements and is more or less only used as enum. See ColorSpaces registry to iterate through all available color spaces or call a registered color space directly:

ColorSpace rgbSpace = ColorSpaces::RGBspace;

Public Member Functions

const MAXON_METHOD ColorProfileGetDefaultNonlinearColorProfile () const
const MAXON_METHOD ColorProfileGetDefaultLinearColorProfile () const

Private Member Functions

 MAXON_INTERFACE (ColorSpaceInterface, MAXON_REFERENCE_CONST, "net.maxon.image.interface.colorspace")

Member Function Documentation


MAXON_INTERFACE ( ColorSpaceInterface  ,

◆ GetDefaultNonlinearColorProfile()

const MAXON_METHOD ColorProfile& GetDefaultNonlinearColorProfile ( ) const

Returns the default non-linear color profile (gamma != 1.0) for this color space for 8/16 bit integer formats.

◆ GetDefaultLinearColorProfile()

const MAXON_METHOD ColorProfile& GetDefaultLinearColorProfile ( ) const

Returns the default color profile for this color space for floating point data.