Replies: 5 comments 1 reply
-
This is happening because libheif is not build with AVIF support.
That quote is from here: https://github.com/strukturag/libheif. |
Beta Was this translation helpful? Give feedback.
-
I can use the UI to save AVIFs so why is it supported in the UI, but not the command line? Do I have to recompile Image Magick after installing AVIF codecs for libheif? |
Beta Was this translation helpful? Give feedback.
-
Which UI are you talking about? |
Beta Was this translation helpful? Give feedback.
-
Not just It seems when
I apologise if this is a separate issue, I can create a new one if you believe so? Or if it is not an issue but intended behaviour, can you clarify whether or not the AppImage is supposed to produce .avif files with the AVIF type? |
Beta Was this translation helpful? Give feedback.
-
I did not realize that the appimage was used. There is no support for |
Beta Was this translation helpful? Give feedback.
-
ImageMagick version
7.1.0-37
Operating system
Linux
Operating system, version and so on
Debian Bullseye
Description
Tried portable version on the main site + gcc & clang AppImage versions (using the direct paths).
I'm able to use mogrify to convert to various formats like png, webp, jpg, but avif returns an 'unrecognized format error' like:
/pathTo/ImageMagick--gcc-x86_64.AppImage mogrify -format avif *.png
mogrify: unable to open image 'avif:': No such file or directory @ error/blob.c/OpenBlob/3533.
mogrify: unrecognized image format 'avif' @ error/mogrify.c/MogrifyImageCommand/5132.
AVIF is also missing from the list when trying:
identify -list format
.I'm also able to return the correct version for each like:
pathTo/ImageMagick--gcc-x86_64.AppImage -version
Version: ImageMagick 7.1.0-37 Q16-HDRI x86_64 b65d0d9:20220605 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): bzlib djvu fontconfig freetype jbig jng jpeg lcms lqr lzma openexr png raqm tiff webp x xml zlib
Compiler: gcc (7.5)
Steps to Reproduce
List missing AVIF:
/pathTo/magick identify -list format
/pathTo/ImageMagick--clang-x86_64.AppImage identify -list format
/pathTo/ImageMagick--gcc-x86_64.AppImage identify -list format
==============================================================
Unrecognized format:
/pathTo/magick mogrify -format avif *.png
/pathTo/ImageMagick--clang-x86_64.AppImage mogrify -format avif *.png
/pathTo/ImageMagick--gcc-x86_64.AppImage mogrify -format avif *.png
Images
No response
Beta Was this translation helpful? Give feedback.
All reactions