Bug 2308806 - Loupe does not support EXR image format
Summary: Loupe does not support EXR image format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glycin-loaders
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-31 14:00 UTC by Yannick Defais
Modified: 2024-09-14 01:58 UTC (History)
4 users (show)

Fixed In Version: glycin-loaders-1.0.1-6.fc41 glycin-loaders-1.0.1-6.fc40
Clone Of:
Environment:
Last Closed: 2024-09-13 20:53:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Blobbies is displayed wrongly (1.92 MB, image/png)
2024-09-07 08:58 UTC, Yannick Defais
no flags Details

Description Yannick Defais 2024-08-31 14:00:28 UTC
Description of problem:
The default image viewer for GNOME (Loupe) does not support EXR image format. The backend (glycin-loaders) should be able to do so, per its documentation :
https://gitlab.gnome.org/sophie-h/glycin#supported-image-formats

The package in Fedora disable it with this patch:
https://koji.fedoraproject.org/koji/fileinfo?rpmID=38669519&filename=0001-Drop-OpenEXR-decoders-since-they-are-not-enabled-in-.patch

Version-Release number of selected component (if applicable):
glycin-loaders-1.0.1-4.fc40

How reproducible:
always

Steps to Reproduce:
1.Try to open an EXR image with GNOME
2.Loupe report an error: "Unknown format: image/x-exr

Actual results:
Loupe cannot display the image

Expected results:
Loupe should display the image

Additional info:

Comment 1 Fabio Valentini 2024-09-01 21:18:19 UTC
The version of the "image" crate used by glycin-loaders (v0.24) has the OpenEXR support patched out.
I think this could be addressed now that the "exr" crate is available in Fedora. I'll look into it.

Comment 3 Fedora Update System 2024-09-06 20:11:17 UTC
FEDORA-2024-b6dbe67575 (glycin-loaders-1.0.1-6.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b6dbe67575

Comment 4 Fedora Update System 2024-09-07 01:36:51 UTC
FEDORA-2024-4b9391d630 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4b9391d630`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4b9391d630

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Yannick Defais 2024-09-07 08:58:21 UTC
Created attachment 2045664 [details]
Blobbies is displayed wrongly

Comment 6 Yannick Defais 2024-09-07 09:00:03 UTC
Thank you!

In my tested the EXR support is not complete and sometimes buggy :
with images from https://openexr.com/en/latest/test_images/index.html :
- Some works, 
- some are displayed wrong (e.g. : https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/ScanLines/Blobbies.jpg or https://openexr.com/en/latest/test_images/ScanLines/CandleGlass.html ). See previous attachmeent,
- a feature of the format is not supported yet "channel subsampling not supported yet" https://openexr.com/en/latest/test_images/Chromaticities/Rec709_YC.html .

Regards

Comment 7 Fabio Valentini 2024-09-08 10:08:54 UTC
Thank you for testing!

I assume these are limitations of the underlying library used for decoding EXR images (https://crates.io/crates/exr), which we package without downstream modifications - so there's likely nothing we can do about that :(

Comment 8 Fedora Update System 2024-09-09 19:25:03 UTC
FEDORA-2024-b6dbe67575 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b6dbe67575`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b6dbe67575

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-09-13 20:53:47 UTC
FEDORA-2024-4b9391d630 (glycin-loaders-1.0.1-6.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-09-14 01:58:30 UTC
FEDORA-2024-b6dbe67575 (glycin-loaders-1.0.1-6.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.