protected function interpretFromRawContent(RawContentInterface $data, $name, $mimeType)
    {
        switch ($this->interpreter->interpret($data)) {

            case ContentTypes::URI:
                return $this->makeFromUrl($data->content(), $name, $mimeType);

            case ContentTypes::DATAURI:
                return $this->makeFromDataUri($data, $name, $mimeType);

            case ContentTypes::RAW:
            default:
                return $this->makeFromRawData($data, $name, $mimeType);
        }
    }