oyProfile_s Struct Reference
[Profile API]

a profile and its attributes More...

#include <oyranos_alpha.h>


Data Fields

oyOBJECT_e type_
oyStruct_Copy_f copy
oyStruct_Release_f release
oyObject_s oy_
char * file_name_
size_t size_
void * block_
icColorSpaceSignature sig_
oyPROFILE_e use_default_
oyObject_snames_chan_
int channels_n_
oyStructList_s * tags_

Related Functions

(Note that these are not member functions.)

oyProfile_soyProfile_FromStd (oyPROFILE_e type, oyObject_s object)
 create from default colour space settings
OYAPI oyProfile_s *OYEXPORT oyProfile_FromFile (const char *name, uint32_t flags, oyObject_s object)
 create from file
OYAPI oyProfile_s *OYEXPORT oyProfile_FromMem (size_t size, const oyPointer block, uint32_t flags, oyObject_s object)
 create from in memory blob
OYAPI oyProfile_s *OYEXPORT oyProfile_FromSignature (icSignature sig, oySIGNATURE_TYPE_e type, oyObject_s object)
 create a fractional profile from signature
OYAPI oyProfile_s *OYEXPORT oyProfile_Copy (oyProfile_s *profile, oyObject_s object)
 copy from existing profile struct
int oyProfile_Release (oyProfile_s **obj)
 release correctly
int oyProfile_GetChannelsCount (oyProfile_s *profile)
 number of channels in a colour space
OYAPI icSignature OYEXPORT oyProfile_GetSignature (oyProfile_s *s, oySIGNATURE_TYPE_e type)
 get ICC colour space signature
OYAPI int OYEXPORT oyProfile_SetSignature (oyProfile_s *profile, icSignature sig, oySIGNATURE_TYPE_e type)
 set signature
void oyProfile_SetChannelNames (oyProfile_s *profile, oyObject_s *names_chan)
 set channel names
const oyChar * oyProfile_GetChannelName (oyProfile_s *profile, int pos, oyNAME_e type)
 get a channels name
const oyObject_soyProfile_GetChannelNames (oyProfile_s *profile)
 get channel names
OYAPI const oyChar *OYEXPORT oyProfile_GetID (oyProfile_s *s)
 get unique name
OYAPI const oyChar *OYEXPORT oyProfile_GetText (oyProfile_s *s, oyNAME_e type)
 get a presentable name
OYAPI oyPointer OYEXPORT oyProfile_GetMem (oyProfile_s *profile, size_t *size, uint32_t flag, oyAlloc_f allocateFunc)
 get the ICC profile in memory
const oyChar * oyProfile_GetFileName (oyProfile_s *profile, int dl_pos)
 get the ICC profile location in the filesystem
oyProfileTag_soyProfile_GetTagById (oyProfile_s *profile, icTagSignature id)
 get a profile tag by its tag signature
oyProfileTag_soyProfile_GetTagByPos_ (oyProfile_s *profile, int pos)
 get a profile tag
oyProfileTag_soyProfile_GetTagByPos (oyProfile_s *profile, int pos)
 get a profile tag
int oyProfile_GetTagCount (oyProfile_s *profile)
int oyProfile_AddTag (oyProfile_s *profile, oyProfileTag_s **obj, int pos)
 add a tag to a profile
int oyProfile_TagReleaseAt (oyProfile_s *profile, int pos)
 remove a tag from a profile


Detailed Description

a profile and its attributes

Field Documentation

number of channels

Referenced by oyProfile_GetChannelsCount(), and oyProfile_Release().

oyStruct_Copy_f oyProfile_s::copy

copy function

oyStruct_Release_f oyProfile_s::release

release function

icColorSpaceSignature oyProfile_s::sig_

oyStructList_s* oyProfile_s::tags_

if > 0 : take from settings

Referenced by oyProfile_FromStd(), oyProfile_GetID(), and oyProfile_GetText().


Generated on Tue Mar 10 09:46:43 2009 for Oyranos by  doxygen 1.5.8