<?php
declare(strict_types=1);

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