Hi there,
I am stumped : ) When I have an HEIC image and try to make a thumbnail, the image is into the W and H dimension even if I set ZC=1. I thought that perhaps phpthumb doesn't know how to do zoom-crop on HEIC images, so I tried first detecting HEIC images and using Imagick to convert them to JPG prior to calling phpthumb. However, these converted JPGs still don't respect the ZC setting. If I convert the HEIC to a JPEG on my computer (Pixelmator), then ZC does work. But converting the HEIC to JPG in Imagick, something is preventing phpthumb from being able to load thumbnails of these images with ZC=1. Any help would be greatly appreciated!
Code I'm using to covert HEIC to JPG calling phpthumb:
if(strtolower($imagick_object->getImageFormat()) == "heic") {
$imagick_object->setImageFormat("jpeg");
$imagick_object->writeImage();}