Public bug reported:

In previous Ubuntu versions, including 22.10, I was able to open
HEIF/HEIC files by installing libheif1 and heif-gdk-pixbuf. This does
not work anymore in 23.04.

Running eog in a terminal displays:
$ eog IMG_9996.HEIC

** (eog:44492): WARNING **: 14:29:17.537: Cannot read plugin directory.

(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.537:
gdk_pixbuf_animation_is_static_image: assertion 'GDK_IS_PIXBUF_ANIMATION
(animation)' failed

(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.538:
gdk_pixbuf_animation_get_iter: assertion 'GDK_IS_PIXBUF_ANIMATION
(animation)' failed

(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.538:
gdk_pixbuf_animation_iter_get_pixbuf: assertion
'GDK_IS_PIXBUF_ANIMATION_ITER (iter)' failed

** (eog:44492): WARNING **: 14:29:17.543: Cannot read plugin directory.

(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.543:
gdk_pixbuf_animation_is_static_image: assertion 'GDK_IS_PIXBUF_ANIMATION
(animation)' failed

(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.543:
gdk_pixbuf_animation_get_iter: assertion 'GDK_IS_PIXBUF_ANIMATION
(animation)' failed

(eog:44492): GdkPixbuf-CRITICAL **: 14:29:17.543:
gdk_pixbuf_animation_iter_get_pixbuf: assertion
'GDK_IS_PIXBUF_ANIMATION_ITER (iter)' failed

eog then shows "Could not load image “IMG_9996.HEIC”. Image loading
failed."


gpicview even crashes immediately:
$ gpicview IMG_9996.HEIC
Gtk-Message: 14:30:30.216: Failed to load module "canberra-gtk-module"

** (gpicview:44624): WARNING **: 14:30:30.260: Cannot read plugin
directory.

** (gpicview:44624): WARNING **: 14:30:30.265: Cannot read plugin directory.
Segmentation fault (core dumped)


The problem concerns all HEIF/HEIC images I tested.

The installed versions of the (possibly) relevant packages are:
libheif1: 1.14.2-1
heif-gdk-pixbuf: 1.14.2-1
libgdk-pixbuf-2.0-0: 2.42.10+dfsg-1build1
eog: 44.0-1
gpicview: 0.2.5-3build1

** Affects: eog (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gdk-pixbuf (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libheif (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lunar

** Tags added: lunar

** Also affects: libheif (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gdk-pixbuf (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to eog in Ubuntu.
https://bugs.launchpad.net/bugs/2017420

Title:
  Cannot open HEIF/HEIC images in 23.04/lunar anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/2017420/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to