Copy link to clipboard
Copied
I would like to use cfimage to resize and convert photos on upload for a maintence app (slideshow). with the new iPhone 11 default to HEIC, people are finding they cannot upload the file and have it processed by my cf app. Help!!!
Copy link to clipboard
Copied
I've encountered this limitation too. Some JPGs would be reported as "not valid" or the operation would consume too much memory and/or take a considerable amount of time to perform.
We use GraphicsMagick internally (faster, supports more formats), but it doesn't support HEIC/HEIF. I read that ImageMagick supported HEIC, so downloaded the portable version and performed a simple HEIC-to-JPG conversion using a popular Nokia HEIC file and it successfully (and quickly) converted to JPG.
c:\ImageMagick\Magick.exe "c:\images\In.HEIC" "c:\images\out.jpg"
After converting to to JPG (or PNG since it's lossless), you can then resize, etc. You can also perform those transformations (and more) using ImageMagick too (recommended).