-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AVIF not installed (ImageMagick 7.1.1-35 / Ubuntu 22.04.1 LTS) #115
Comments
Install |
@SoftCreatR Thanks for the reply! Just tested this, unfortunately it didn't work. First I installed Weird issue, this was definitely working two weeks ago. Same server versions, same setup. We also didn't install |
libavif-dev is an exception because it doesn't exist in Ubuntu 20.04. However, until now, there was no need to install it, because it worked out of the box. I don't know, what has changed tbh. However, I am already evaluating a manual compilation/installation of libavif, even though I don't like the idea. However, I've tested it on a fresh Hetzner VPS without any problems :S |
@SoftCreatR Curious – our servers are on Ubuntu 22.04.1 and it still didn't work, even after the manual installation of Anything else we can try, or any debugging info we can provide? I don't understand the toolchain well enough to understand what's missing unfortunately. |
You should check the log file. |
@SoftCreatR Here are the two log files from the two runs of IMEI: imei-1721119863.log The first one is from the first run before I installed |
From the first log:
From the 2nd attempt:
If we ignore the fact, that 0.9.3 is pretty outdated, I don't see a problem here. |
@SoftCreatR That's the version that's available through the PPA on Ubuntu 22.04 … Any idea why AVIF is still missing even though it found the lib? |
No, because I can't reproduce that. |
@SoftCreatR Hm, I'm at a loss :/ Not sure what else to try, since everything seems to be working fine and we're not getting any errors. Any idea what else we can try to get to the bottom of this? |
as a workaround, using the parameter --heif-version 1.17.6 enables imagemagick with heif/heic support from the logs: (the log statement "No package 'libavif' found" was always the case for me, but having heic in the delegate library configuration lets me convert avif files) |
Good catch. I'll try to find out, what's changed in libheif and/or AOM. |
@SoftCreatR @s0ar So if I'm reading this correctly, the issue might be related to the 1.18.0 release of libheif? That would definitely fit the timeline, as our problem only started after the time of this release. |
@MoritzLost Could be, yes. So you could try
/cc @jakobhaerter |
@SoftCreatR Thanks, we tried this and it does fix the issue! Good to have a workaround, but of course not a permanent solution. I'm looking at the changelog of |
Not yet. |
tl;dr: Remove any pre-existing That's interesting. I can reproduce the issue... sometimes. I'm not entirely sure what causes it. Maybe previous installation's leftovers. I thought it was a bug in I created two packages, one for v1.17.6 and another one for v1.18.2, and then I extracted their files using
libheif 1.17.6
The 1.18.2 package is missing the
The package misses Check your Removing any pre-existing PS: I reinstalled all the imei packages after the last test, and Anyway... check your
Previously:
|
Hey @jakobhaerter I ran into a similar issue again today. This time, it was caused by the missing After I installed both libraries using I know at least |
The issue is that IMEI attempts to install the packages, but it does nothing if they are already installed: Line 571 in 4d1c41f
Of course, I could force a reinstall, but that doesn’t seem like the right solution. |
I installed IMEI on a Hetzner VPS to enable full AVIF support for a website. However,
ImageMagick 6.9
had a bug where PNGs with transparency were converted to AVIF files with a black background.After successfully installing
ImageMagick 7.1.1
, AVIF support is completely missing. Runningidentify -list format
does not list AVIF at all.ImageMagick 6.9
still generated AVIFs.Any help or guidance on resolving this issue is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: