https://assemblysys.com/rounded-corners-using-php-and-the-gd-library/
Rounded corners using PHP and the GD library