public function create(int $width, int $height, bool $true_color = true): bool
    {
        $this->image_width = $width;
        $this->image_height = $height;

        if (!$this->haveEnoughMemoryToOpenAndProcess()) {
            throw new RuntimeException('Empty can not be created.');
        }

        if ($true_color) {
            $img = imagecreatetruecolor($width, $height);
        } else {
            $img = imagecreate($width, $height);
        }

        $this->image_resource = $img;

        return true;
    }