Pimcore\Image\Adapter\Imagick::getRGBColorProfile PHP Method

getRGBColorProfile() public static method

public static getRGBColorProfile ( ) : string
return string
    public static function getRGBColorProfile()
    {
        if (!self::$RGBColorProfile) {
            $path = Config::getSystemConfig()->assets->icc_rgb_profile;
            if (!$path || !file_exists($path)) {
                $path = __DIR__ . "/../icc-profiles/sRGB_IEC61966-2-1_black_scaled.icc";
                // default profile
            }
            if (file_exists($path)) {
                self::$RGBColorProfile = file_get_contents($path);
            }
        }
        return self::$RGBColorProfile;
    }