public static function replaceDataUriParameters($uri, string $parameters)
    {
        $uri = self::filterUri($uri);

        return self::normalizePath($uri, (new DataPath($uri->getPath()))->withParameters($parameters));
    }