![]() |
Oyranos Colour Management System API |
a profile and its attributes More...
#include <oyranos_alpha.h>
Public Member Functions | |
| oyProfile_s * | oyProfile_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_FromMD5 (uint32_t *md5, oyObject_s object) |
| look up a profile from it's md5 hash sum | |
| 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_s * | oyProfile_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 | |
| int | oyProfile_GetMD5 (oyProfile_s *profile, int flags, uint32_t *md5) |
| get the ICC profile md5 hash sum | |
| const char * | oyProfile_GetFileName (oyProfile_s *profile, int dl_pos) |
| get the ICC profile location in the filesystem | |
| int | oyProfile_DeviceAdd (oyProfile_s *profile, oyConfig_s *device, oyOptions_s *options) |
| add device and driver informations to a profile | |
| int | oyProfile_DeviceGet (oyProfile_s *profile, oyConfig_s *device) |
| obtain device informations from a profile | |
| oyProfileTag_s * | oyProfile_GetTagById (oyProfile_s *profile, icTagSignature id) |
| get a profile tag by its tag signature | |
| oyProfileTag_s * | oyProfile_GetTagByPos (oyProfile_s *profile, int pos) |
| get a profile tag | |
| int | oyProfile_GetTagCount_ (oyProfile_s *profile) |
| int | oyProfile_GetTagCount (oyProfile_s *profile) |
| int | oyProfile_TagMoveIn (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 | |
| int | oyProfile_AddTagText (oyProfile_s *profile, icSignature signature, const char *text) |
| add a text tag | |
Data Fields | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
a profile and its attributes
| oyStruct_Copy_f oyProfile_s::copy |
copy function
| oyStruct_Release_f oyProfile_s::release |
release function