private function bailIfConstructArguments(string $source, int $width, int $height): void
    {
        if ($width <= 0) {
            throw new InvalidArgumentException('Width cannot be less or equal than zero.');
        }
        if ($height <= 0) {
            throw new InvalidArgumentException('Height cannot be less or equal than zero.');
        }
        if (!file_exists($source)) {
            throw new InvalidArgumentException('Source file does not exists.');
        }
    }