• therealdj

    (@therealdj)


    I have a problem when I use the GD option:
    [2024-10-20 14:41:22][notice]Converting header-home.jpg to AVIF failed. Error:Converted image is 0 KB and has been deleted. This usually happens because your AVIF library is not working properly. Please check the AVIF library.

    When I use the Imagick option, it seems that it converts some AVIF files but it freezes after converting about 20/25 images.

    What can I do to resolve this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter therealdj

    (@therealdj)

    Debug Information
    Web Server: Apache/2
    CompressX version: 0.9.16
    WordPress version: 6.6.2
    PHP version: 8.1.23
    GD extension: The GD extension has been properly installed.
    GD Version: 2.3.3
    GD WebP Support: true
    GD AVIF Support: true
    Imagick extension: The imagick extension has been properly installed.
    Imagick Version: 1808, ImageMagick 7.1.0-62 Q16-HDRI x86_64 20885 https://imagemagick.org
    Imagick WebP Support: true
    Imagick AVIF Support: true

    Plugin Support tonyrobins

    (@tonyrobins)

    Hello @therealdj

    We are going to look into the issue and get back to you as soon as we can.

    All the best,

    Plugin Support tonyrobins

    (@tonyrobins)

    Hello @therealdj

    In our experience, the error appears because the converted image size is 0KB.

    To help us further troubleshooting the issue, would you send us a debug zip from the plugin’s Debug information page?

    All the best,

    Thread Starter therealdj

    (@therealdj)

    I sent it to [email protected], including a reference link to this page.

    Thread Starter therealdj

    (@therealdj)

    I’ve found the problem for the Imagick option!

    In the Media Library I have spotted the Convert button and started to convert my images one by one (a lot of work). It turns out there were 2 corrupted images (even though they did work as normal in jpg and webp format) but after re-uploading everything goes well.

    Since the Imagick option now works, the GD problem is actually no longer important to me because I prefer Imagick.

    Some things that you could improve:
    – Add a timeout and skip the files that take too long to convert, and show them as failed (so the other files can be converted without any problems, and you can inspect the failed files later on)
    – Under the process bar I would like to see a line which file is currently being processed, something like ‘Converting: filename.jpg’ (now you can only see this in the log file)
    – The % images circle ‘Outputted to’ is not updating during processing, it would be nice if this is possible
    – The banner on the top could be a little nicer and more recognizable, like the plugin page

    I think after some improvements this could become the most popular free WEBP and AVIF converter. Keep up the good work!

    • This reply was modified 1 month ago by therealdj.
    • This reply was modified 1 month ago by therealdj.
    Plugin Support nicholas2019

    (@nicholas2019)

    Thank you for the update and your suggestions. We appreciate your feedback and will consider making improvements in the future.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.