#include <stdio.h>
#include <lcms2.h>

/*
gcc lcmssrgb.c `pkg-config --libs --cflags lcms2` -o lcmssrgb && ./lcmssrgb
*/

int main ()
{
  cmsHPROFILE srgb = cmsCreate_sRGBProfile ();
  cmsSaveProfileToFile (srgb, "./lcms-srgb-builtin.icc");
  cmsCloseProfile (srgb);

  return 0;
}
