Pimcore\Image\Adapter\Imagick::getCMYKColorProfile PHP Метод

getCMYKColorProfile() публичный статический Метод

public static getCMYKColorProfile ( ) : string
Результат string
    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;
    }