<?php
declare(strict_types=1);

$image = imagecreatetruecolor(50, 40);
$white = imagecolorallocate($image, 255, 255, 255);
imagestringup($image, 3, 2, 35, "ABC", $white);
imagepng($image, "label.png");
echo getimagesize("label.png")["mime"], "\n";
