public function newFromImage($value): Image
    {
        Utils::debugLog('newFromImage', [
            'instance' => $this,
            'arguments' => [$value]
        ]);

        $pixel = self::black(1, 1)->add($value)->cast($this->format);
        $image = $pixel->embed(
            0,
            0,
            $this->width,
            $this->height,
            ['extend' => Extend::COPY]
        );
        $image = $image->copy([
            'interpretation' => $this->interpretation,
            'xres' => $this->xres,
            'yres' => $this->yres,
            'xoffset' => $this->xoffset,
            'yoffset' => $this->yoffset
        ]);

        Utils::debugLog('newFromImage', ['result' => $image]);

        return $image;
    }