• Love the plugin!

    Recently, it stopped working and I think it’s due to server-side configuration change.

    Issue 1) is that you don’t handle errors during the test_run() and generally don’t output to the error logs if there’s been an issue.

    2) The actual issue:

    ImagickException: Error while loading plugin: No decoding plugin installed for this compression format (11.6003) `/-/wp-content/plugins/heic-support/image4.heic' @ error/heic.c/IsHEIFSuccess/203

    There hasn’t been any indication in the error logs (even though wp_debug is active), nor on the Media settings page. I just happened to dig around the code and the above is the output of $ie->getMessage()

    ImageMagick 7.1.1-47 Q16-HDRI x86_64 22763 https://imagemagick.org
    WordPress 6.6.2
    PHP-FPM 7.4.33
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Corey Salzano

    (@salzano)

    Hi,

    Thanks for trying my plugin. If you’ve improved the code, send a pull request! https://github.com/csalzano/heic-support/

    I don’t use this plugin. I don’t know why anyone still needs this plugin since the feature was built into core last year https://make.wordpress.org/core/2024/08/15/automatic-conversion-of-heic-images-to-jpeg-in-wordpress-6-7/

    I don’t mind maintaining it, but have you tried deactivating HEIC Support and trying an .heic upload since updating to WordPress 6.7?

    Thanks again.

    Upon investigation, I found that WordPress provides native support for HEIF/HEIC format and preserves the original files without deletion. In contrast, certain third-party plugins encounter problems (such as CompressX failing to generate thumbnails and AVIF conversions from the original HEIF/HEIC files). As a result, I ultimately decided to continue using your plugin

    • This reply was modified 2 months, 2 weeks ago by sheldonng.

    it’s any way to use your plugin to Bulk Optimization the old heif/heic original files to jpeg?

    Plugin Author Corey Salzano

    (@salzano)

    Thanks for the update!

    No, there are no unlisted features of this plugin. I would handle bulk conversions with shell scripting and SSH access to the server with something like this…

    for file in *.heic; do  
    magick "$file" "${file%.heic}.jpg"
    done

    …and the wp media import command create Media Library items.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.