Pimcore\Image\Adapter\Imagick::getRGBColorProfile PHP 메소드

getRGBColorProfile() 공개 정적인 메소드

public static getRGBColorProfile ( ) : string
리턴 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;
    }