Oyranos Color Management System API - Version 0.9.6
Functions
Alpha API's

Functions

oyChar * oyDumpColorToCGATS (const double *channels, size_t n, oyProfile_s *prof, oyAlloc_f allocateFunc, const oyChar *DESCRIPTOR)
 create CGATS text from double value array and a profile More...
 

Detailed Description

Function Documentation

oyChar* oyDumpColorToCGATS ( const double *  channels,
size_t  n,
oyProfile_s prof,
oyAlloc_f  allocateFunc,
const oyChar *  DESCRIPTOR 
)

create CGATS text from double value array and a profile

Function oyDumpColorToCGATS The funtion operates on raw color values. Alpha is not supported. The intention is to have a small debugging only tool. The values are required to come prescaled (IE RGB 0...255, XYZ 0...1, CMYK 0...100 ...)

Todo:
should be merged to some structure like oyImage_s.
Since
Oyranos: version 0.1.8
Date
2008/01/21 (API 0.1.8)

References oyOBJECT_CALLBACK_S, oyObject_Copy(), oyObject_NewFrom(), oyObject_Release(), oyObject_SetParent(), oyObject_UnRef(), oyProfile_s::oyProfile_GetChannelsCount(), oyProfile_s::oyProfile_GetSignature(), and oySIGNATURE_COLOR_SPACE.