public function load($src)
    {
        if (empty($src)) {
            return $this;
        }

        if ($this->isImageStringByString($src)) {
            $this->loadImageFromString($src);
        } elseif (filter_var($src, FILTER_VALIDATE_URL)) {
            $this->loadImageFromURL($src);
        } elseif (is_file($src)) {
            $this->loadImageFromFile($src);
        }

        return $this;
    }