View previous topic :: View next topic |
Author |
Message |
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2283 Location: $TERM
|
Posted: Thu Dec 12, 2024 10:30 am Post subject: avif read support not present in imagemagick |
|
|
Hi.
I've build imagemagick with heif support. This results in imagemagick correctly ENCODING avif image, but when it comes to reading --
Code: | convert: no decode delegate for this image format `AVIF' @ error/constitute.c/ReadImage/746. |
imagemagick was built with the following --
bzip2 corefonts cxx fftw fontconfig hdri heif jbig jpeg jpeg2k jpegxl lcms opencl openmp pango png postscript raw svg tiff truetype webp xml zlib -X -djvu -fpx -graphviz -hardened -lqr -lzma -openexr -perl -q8 -q32 -static-libs -test -wmf -zip
Version is 7.1.1.38-r2
Can you read avif? Please share the output of --
Code: | convert -list format | grep AVIF |
And please share the use flags and version of imagemagick. _________________ My blog |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22810
|
Posted: Thu Dec 12, 2024 2:12 pm Post subject: |
|
|
Code: | # emerge -pv imagemagick
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.78 s (backtrack: 0/20).
[ebuild R ] media-gfx/imagemagick-7.1.1.38-r2:0/7.1.1-18::gentoo USE="X bzip2 corefonts cxx fontconfig graphviz hardened heif jpeg openmp pango png raw svg tiff truetype webp xml zlib -djvu -fftw -fpx -hdri -jbig -jpeg2k -jpegxl -lcms -lqr -lzma -opencl -openexr -perl -postscript -q8 -q32 -static-libs -test -wmf -zip" 0 KiB |
Code: | $ convert -list format | grep AVIF
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
AVIF HEIC rw+ AV1 Image File Format (1.15.2)
| I don't have an image of the right type to test whether I can actually render it. However, creating and then rendering one seems to work: Code: | $ magick rose: test.avif
$ file test.avif
test.avif: ISO Media, AVIF Image
$ display test.avif
| That last command displays a window with what looks like the standard ImageMagick rose. display rose: shows a seemingly equivalent window.
Per diff -u, our differences are: Code: | --- dE_logics
+++ Hu
@@ -1,29 +1,29 @@
--X
+X
bzip2
corefonts
cxx
-djvu
-fftw
+-fftw
fontconfig
-fpx
--graphviz
--hardened
-hdri
+graphviz
+hardened
+-hdri
heif
-jbig
+-jbig
jpeg
-jpeg2k
-jpegxl
-lcms
+-jpeg2k
+-jpegxl
+-lcms
-lqr
-lzma
-opencl
+-opencl
-openexr
openmp
pango
-perl
png
-postscript
+-postscript
-q32
-q8
raw
|
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6172 Location: Dallas area
|
Posted: Thu Dec 12, 2024 3:03 pm Post subject: |
|
|
Probably the hdri use flag
Code: | convert -list format|head -20
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
Format Module Mode Description
-------------------------------------------------------------------------------
3FR DNG r-- Hasselblad CFV/H3D39II Raw Format
3G2 VIDEO r-- Media Container
3GP VIDEO r-- Media Container
AAI* AAI rw+ AAI Dune image
AI PDF rw- Adobe Illustrator CS2
APNG VIDEO rw+ Animated Portable Network Graphics
ART* ART rw- PFS: 1st Publisher Clip Art
ARW DNG r-- Sony Alpha Raw Format
ASHLAR* ASHLAR -w+ Image sequence laid out in continuous irregular courses
AVI VIDEO r-- Microsoft Audio/Visual Interleaved
AVIF HEIC rw+ AV1 Image File Format (1.15.2) |
Code: | [ebuild R ] media-gfx/imagemagick-7.1.1.38-r2:0/7.1.1-18::local USE="bzip2 corefonts cxx hdri heif jpeg lcms openmp pango perl png svg tiff truetype webp xml zlib -X -djvu -fftw -fontconfig -fpx -graphviz -hardened -jbig -jpeg2k -jpegxl -lqr -lzma -opencl -openexr -postscript -q32 -q8 -raw -static-libs -test -wmf -zip" 0 KiB |
_________________ UM780, 6.1 zen kernel, gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|