<?php
declare(strict_types=1);

$format = (imagetypes() & IMG_JPG) !== 0 ? "jpeg" : "png";
echo $format, "\n";
