Width and Height, command line options, are actually strings, although the Url class constructor requires integers. Code bellow resolves the problem. committing all file. file -> src/CLI.php [CLI.php.txt](https://github.com/crocodile2u/imgproxy-php/files/14620974/CLI.php.txt)