Open jlTorresAdCentral opened 2 weeks ago
I can confirm this error on our platform as well. A typical heif image from an iPhone running IOS 18 was taken today and tested against the library alexcorvi/heic2any, and it failed to convert.
The issue is resolved in https://github.com/strukturag/libheif/issues/1190
@alexcorvi we need to rebuild the libheif.js
The issue is resolved in strukturag/libheif#1190
@alexcorvi we need to rebuild the libheif.js
Hi @alexcorvi , @AJLoveChina
Thanks a lot for providing the useful library that our digital product has been using over the months.
We've recently received several reports from our customers saying it's failed to proceed the photos taken by their iPhone15 Pro under iOS18. We try reproducing the issue on the following iOS devices and confirm it failed to convert HEIC photos taken from iPhone 15 Pro running iOS: • 16pro iOS 18.0 4G → 100% OK • 15pro iOS 17.4 4G → 100% OK • 15pro iOS 18.0 4G → 3 OK, 7 Error • 15pro iOS 18.0 4G → 3 OK, 7 Error • 15pro iOS 18.0 4G → 1 OK, 6 Error • 15plus iOS 17.6.1 Wifi → 100% OK • 15plus iOS 17.6.1 Wifi → 100% OK • 14 iOS 18.0 4G → 100% OK • 13pro iOS 17.6.1 4G → 100% OK • 11 iOS 18.0 Wifi → 100% OK • 8plus iOS 15.2 Wifi → 100% OK • iPad4 iOS 18.0 Wifi → 100% OK
As converting HEIC photos is an important step to our product, and to void impacts to our customers as much as possible, could you please consider rebuilding the lib? Or share with us your plan on rebuilding the lib, if possible?
Looking forwards to receiving your reply. Thanks in advance!
Hi @mvn-sinhtao-dn , I create a solution based on libheif, using wasm to convert heic format image. It's about 20% faster than pure javascript. And it supports heic from IOS 18
Here is the library : https://github.com/AJLoveChina/libheic
Hi @AJLoveChina
Thanks a lot for your response! I'll give it a try and let you know the result once it's done.
heif_error_code_heif_error_Invalid_input
Error converting HEIC to jpeg: {code: 2, message: 'ERR_LIBHEIF format not supported'}