cmsSetProfileHeader(3)

cmsSetProfileHeader - stores a new header into an open profile

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     cmsSetProfileHeader - stores a new header into an open profile

SYNOPSIS
     #include <cms.h>

     int32 cmsSetProfileHeader (ctxt, prof, pHeader);
     CMSContext ctxt;
     CMSProfile prof;
     icHeader *pHeader;

DESCRIPTION
     Loads an ICC profile header into a profile.  As the icHeader is of fixed
     size, the application is responsible for allocating and freeing it. This
     changes the in-memory version of the profile.  To propagate the change to
     the file system and other users, call cmsSaveProfile or cmsSaveProfileAs.

ERRORS
     CMS_OUT_OF_MEMORY
               There is not enough memory to store an new header into the
               profile.

SEE ALSO
     cmsSaveProfile, cmsSaveProfileAs