public static function getCMYKColorProfile()
{
if (!self::$CMYKColorProfile) {
$path = Config::getSystemConfig()->assets->icc_cmyk_profile;
if (!$path || !file_exists($path)) {
$path = __DIR__ . "/../icc-profiles/ISOcoated_v2_eci.icc";
// default profile
}
if ($path && file_exists($path)) {
self::$CMYKColorProfile = file_get_contents($path);
}
}
return self::$CMYKColorProfile;
}