I have a PHP script to upload an image. The image is then checked to see if it is valid (jpeg/png) and then converted to jpeg if it isn't a jpeg but is a valid image.
Apple now has HEIC filetypes and I'm struggling on how to handle this within in my script as there doesn't appear to be a mimetype for HEIC.
Has anyone found a solution to uploading HEIC and then converting to jpeg using PHP?