public function target(string $file, string $path = '') : array
    {
        if ($this->resizer !== null && $this->loaded === true) {
            try {
                $this->resizer->resizeSource()
                    ->createCopy()
                    ->setFileName($file)
                    ->setPath($path)
                    ->save();

                return $this->resizer->getInfo();
            } catch (\Exception $e) {
                echo $e->getMessage();
            }
        }
    }