<?php
declare(strict_types=1);

$image = imagecreatefromxpm("icon.xpm");
imagepng($image, "icon.png");
echo getimagesize("icon.png")["mime"], "\n";
