Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
lcms2.h
✓ #include <lcms2.h>
Minimal example creating a color transform from sRGB to Lab.
#include <lcms2.h>
#include <stdio.h>
int main() {
cmsHPROFILE srgb = cmsCreate_sRGBProfile();
cmsHPROFILE lab = cmsCreateLab4Profile(NULL);
cmsHTRANSFORM transform = cmsCreateTransform(srgb, TYPE_RGB_8, lab, TYPE_LAB_DBL, INTENT_PERCEPTUAL, 0);
printf("Transform created.\n");
cmsDeleteTransform(transform);
cmsCloseProfile(srgb);
cmsCloseProfile(lab);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.