<?php
declare(strict_types=1);

$image = imagecreatetruecolor(240, 120);
$background = imagecolorallocate($image, 242, 247, 250);
imagefill($image, 0, 0, $background);
$red = imagecolorallocate($image, 30, 110, 180);
$ink = imagecolorallocate($image, 20, 40, 55);
imagestring($image, 4, 16, 74, "CUP / 1290 RUB", $ink);
imageline($image, 16, 55, 224, 55, $red);
imagepng($image, "shape.png");
echo "shape.png 240x120\n";
