After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778183 - raw-load: Improve the fidelity of the decoding
raw-load: Improve the fidelity of the decoding
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other All
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2017-02-04 21:47 UTC by Debarshi Ray
Modified: 2017-02-07 22:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A JPEG loaded with jpg-load and displayed as cairo-ARGB32 (3.12 MB, image/png)
2017-02-04 21:50 UTC, Debarshi Ray
  Details
A CR2 loaded with raw-load and displayed as cairo-ARGB32 (before these patches) (3.22 MB, image/png)
2017-02-04 21:53 UTC, Debarshi Ray
  Details
A CR2 loaded with raw-load and displayed as cairo-ARGB32 (with these patches) (3.23 MB, image/png)
2017-02-04 21:55 UTC, Debarshi Ray
  Details
operations/external/raw-load: Improve the fidelity of the decoding (1.98 KB, patch)
2017-02-04 21:57 UTC, Debarshi Ray
committed Details | Review
operations/external/raw-load: Switch the output format to "R'G'B' u16" (2.72 KB, patch)
2017-02-04 21:58 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2017-02-04 21:47:22 UTC
The output of the RAW loader is visibly different from that of similar applications like Darktable and Shotwell. The decoded pixels are also substantially different from their camera generated JPEG counterparts. Let's address this by using similar parameters as Shotwell to configure LibRaw.
Comment 1 Debarshi Ray 2017-02-04 21:50:56 UTC
Created attachment 344952 [details]
A JPEG loaded with jpg-load and displayed as cairo-ARGB32
Comment 2 Debarshi Ray 2017-02-04 21:53:13 UTC
Created attachment 344953 [details]
A CR2 loaded with raw-load and displayed as cairo-ARGB32 (before these patches)
Comment 3 Debarshi Ray 2017-02-04 21:55:51 UTC
Created attachment 344954 [details]
A CR2 loaded with raw-load and displayed as cairo-ARGB32 (with these patches)
Comment 4 Debarshi Ray 2017-02-04 21:57:27 UTC
Created attachment 344955 [details] [review]
operations/external/raw-load: Improve the fidelity of the decoding
Comment 5 Debarshi Ray 2017-02-04 21:58:05 UTC
Created attachment 344956 [details] [review]
operations/external/raw-load: Switch the output format to "R'G'B' u16"
Comment 6 Debarshi Ray 2017-02-04 22:03:16 UTC
For what it is worth, I did find some buglets with the way Shotwell sets up LibRaw. See bug 778174