15.4 Gimp - Howto Open .heic files? Installed heif plugin -- still won't work?
All, How do I open .heic files with gimp? The heif plugin is supposed to do it, but after installing, gimp doesn't recognize the format. All I really need to do is convert the damn things to .jpg, but openSUSE doesn't offer libheif-examples which contains heif-convert that does the job. I've built from github, but get an error: $ heif-convert IMG_6267.heic IMG_6267.jpg File contains 1 image Could not decode image: 0: Unsupported feature: Unsupported codec It is using the proper libheif: $ ldd ~/bin/heif-convert linux-vdso.so.1 (0x00007ffc2c8d5000) libheif.so.1 => /home/david/tmp/libheifbld/libheif/libheif.so.1 (0x00007fbb14ab1000) libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fbb1480a000) libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fbb145c7000) libz.so.1 => /lib64/libz.so.1 (0x00007fbb143b0000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fbb13f9d000) libm.so.6 => /lib64/libm.so.6 (0x00007fbb13c52000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbb13a39000) libc.so.6 => /lib64/libc.so.6 (0x00007fbb13644000) libaom.so.3 => /usr/lib64/libaom.so.3 (0x00007fbb12e80000) libdav1d.so.5 => /usr/lib64/libdav1d.so.5 (0x00007fbb12afd000) /lib64/ld-linux-x86-64.so.2 (0x00007fbb14de5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbb128da000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fbb126d6000) Anybody have a way to either make gimp work of convert these files in 15.4? -- David C. Rankin, J.D.,P.E.
On 7/17/22 17:31, David C. Rankin wrote:
$ heif-convert IMG_6267.heic IMG_6267.jpg File contains 1 image Could not decode image: 0: Unsupported feature: Unsupported codec
It is using the proper libheif:
$ ldd ~/bin/heif-convert linux-vdso.so.1 (0x00007ffc2c8d5000) libheif.so.1 => /home/david/tmp/libheifbld/libheif/libheif.so.1 (0x00007fbb14ab1000) libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fbb1480a000) libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fbb145c7000) libz.so.1 => /lib64/libz.so.1 (0x00007fbb143b0000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fbb13f9d000) libm.so.6 => /lib64/libm.so.6 (0x00007fbb13c52000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbb13a39000) libc.so.6 => /lib64/libc.so.6 (0x00007fbb13644000) libaom.so.3 => /usr/lib64/libaom.so.3 (0x00007fbb12e80000) libdav1d.so.5 => /usr/lib64/libdav1d.so.5 (0x00007fbb12afd000) /lib64/ld-linux-x86-64.so.2 (0x00007fbb14de5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbb128da000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fbb126d6000)
Point of curiosity, works just fine on Arch, what to check for 15.4? On Arch, $ heif-convert photos-heic/IMG_6267.heic IMG_6267.jpg File contains 1 images Written to IMG_6267.jpg So there is either a library or build difference between the two. Arch just uses a plain-Jane build: ./configure \ --prefix=/usr \ --enable-static=no make -- David C. Rankin, J.D.,P.E.
On Sun, 2022-07-17 at 18:10 -0500, David C. Rankin wrote:
On 7/17/22 17:31, David C. Rankin wrote:
$ heif-convert IMG_6267.heic IMG_6267.jpg File contains 1 image Could not decode image: 0: Unsupported feature: Unsupported codec
It is using the proper libheif:
$ ldd ~/bin/heif-convert linux-vdso.so.1 (0x00007ffc2c8d5000) libheif.so.1 => /home/david/tmp/libheifbld/libheif/libheif.so.1 (0x00007fbb14ab1000) libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fbb1480a000) libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fbb145c7000) libz.so.1 => /lib64/libz.so.1 (0x00007fbb143b0000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fbb13f9d000) libm.so.6 => /lib64/libm.so.6 (0x00007fbb13c52000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbb13a39000) libc.so.6 => /lib64/libc.so.6 (0x00007fbb13644000) libaom.so.3 => /usr/lib64/libaom.so.3 (0x00007fbb12e80000) libdav1d.so.5 => /usr/lib64/libdav1d.so.5 (0x00007fbb12afd000) /lib64/ld-linux-x86-64.so.2 (0x00007fbb14de5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbb128da000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fbb126d6000)
Point of curiosity, works just fine on Arch, what to check for 15.4? On Arch,
$ heif-convert photos-heic/IMG_6267.heic IMG_6267.jpg File contains 1 images Written to IMG_6267.jpg
So there is either a library or build difference between the two. Arch just uses a plain-Jane build:
./configure \ --prefix=/usr \ --enable-static=no make
-- David C. Rankin, J.D.,P.E.
It might be something that works via packman (only), since it does say "Unsupported codec". It does exist there. I'm a TW user and not a deep-dive GIMP user (rarely, for quick and dirty things) - so it's literally a shot-in-the- dark. $ zypper search --repo packman heif-examples Loading repository data... Reading installed packages... S | Name | Summary | Type --+-------------------------+---------------------------------------------+----- --- | heif-examples | Example binary programs for libheif | package | heif-examples-debuginfo | Debug information for package heif-examples | package -- ~ Scott Bradnick |- Windows Subsystem for Linux (WSL) Developer |-- Tumbleweed: |--- Dell Precision 5540 [NVIDIA Quadro T1000] (x86_64) |--- O-DROID H2+ [UHD Graphics 600] (x86_64) |--- 2x Raspberry Pi 4 Model B Rev 1.2 (aarch64) |--- 1x Raspberry Pi 3 Model B Rev 1.2 (aarch64) |--- WinBook TW100 (x86_64) https://keys.openpgp.org/ :: DBC5AA9A2D2BAEBC
participants (2)
-
David C. Rankin
-
Scott Bradnick