Bug 2107442 - Add HDRI support in future versions.
Summary: Add HDRI support in future versions.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: 37
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-15 05:25 UTC by Robin Laing
Modified: 2023-01-06 21:18 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-06 21:18:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robin Laing 2022-07-15 05:25:32 UTC
Description of problem:  

ImageMagick has progressed to process modern images and many people have access to HDR images via their cellphones.  ImageMagick has added the ability to process HDR images but the present Fedora release on F35 doesn't include that option.

Fedora shouldn't be limiting the ability to process images to their best quality.


Version-Release number of selected component (if applicable):

7.1

How reproducible:

Always

Steps to Reproduce:
1. Take an HDR image
2. Process it in the present copy of ImageMagick
3. Open image to find colour depth has changed.

Actual results:
Lose colour depth on HDR images.

Expected results:
Maintain colour depth on HDR images when processing with ImageMagick

Additional info:
Info on HDR in ImageMagick.

https://imagemagick.org/script/high-dynamic-range.php

Comment 1 Sergio Basto 2022-07-16 14:14:44 UTC
Hi, 
do you know if we have downsides on enable it in ImageMagick 6 ? or any reason to not enable it on current package ? 

back to 2013 https://bugzilla.redhat.com/show_bug.cgi?id=977424, 
the biggest problem  is that it will change the so names and will create broken deps 

maybe we should leave this for ImageMagick 7 
Thank you

Comment 2 Robin Laing 2022-07-17 21:45:05 UTC
From the ImageMagick web site.
 
      "The current release is ImageMagick 7.1.0-43. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others."

https://imagemagick.org/index.php

So, waiting for IM7 is not the answer.  In the bug report 977424, they talked about starting to look at it.  In 2013, IM7 was alpha.  

From https://imagemagick.org/archive/releases/ there are Version 7.0 from 2016 so Fedora has not even kept up with the latest version.  I guess the bug could have said to update IM to the current version.  6 years is more than enough time to sort out the libraries and make the conversion to IM7.

Comment 3 Remi Collet 2022-07-20 09:53:57 UTC
Updating to IM7 was tried and reverted because breaking tons of stuff

IM6 and IM7 are both maintained upstream, and are very different projects
(different API, ABI, and even command line options)

IM6 build Q16 libraries by default
IM7 build Q16HDRI libraries by default


IMHO it could make sense to provides both
(or perhaps encourage, again, all projects to switch away from using IM)

Comment 4 Robin Laing 2022-07-21 03:44:28 UTC
If it breaks tons of stuff, maybe it is time to fix the stuff it breaks and get with the times.

Or is Fedora going to fall further and further behind the main-stream projects?

I have had to use SNAP packages in the past while waiting for Fedora to "catch up" with the fixes.  In some cases, compiled my own applications due to lack up updates.

Comment 5 Ben Cotton 2022-08-09 13:22:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 6 Sergio Basto 2022-12-02 20:47:36 UTC
I started review request for ImageMagick7 https://bugzilla.redhat.com/show_bug.cgi?id=2150206 , which will support HDRI

Comment 7 Neal Gompa 2023-01-06 21:18:31 UTC
This is fixed with ImageMagick in Rawhide being rebased to v7.


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