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 647733 - Add libraw support for loading images
Add libraw support for loading images
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
: 651288 743543 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-14 02:44 UTC by tones111
Modified: 2015-11-16 17:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rename raw-load to dcraw-load to free it up for libraw (12.29 KB, patch)
2011-04-14 02:44 UTC, tones111
none Details | Review
Add libraw load operation (7.72 KB, patch)
2011-04-14 02:48 UTC, tones111
none Details | Review
Libraw load support (9.22 KB, patch)
2011-04-17 18:53 UTC, tones111
none Details | Review
Alternative patch (17.91 KB, patch)
2011-10-02 19:18 UTC, Jon Nordby
none Details | Review

Description tones111 2011-04-14 02:44:05 UTC
Created attachment 185923 [details] [review]
rename raw-load to dcraw-load to free it up for libraw

In order to support a wider variety of RAW image formats an operation to interface with libraw is preferred over the current libopenraw operation.

I've tried multiple times to send this to the mailing list but my emails aren't showing up in the archive.  Looking forward to providing more patches in the future.
Comment 1 tones111 2011-04-14 02:48:10 UTC
Created attachment 185924 [details] [review]
Add libraw load operation
Comment 2 tones111 2011-04-17 18:53:17 UTC
Created attachment 186157 [details] [review]
Libraw load support
Comment 3 tones111 2011-04-19 03:01:19 UTC
I've created a patch to add a test for this operation.  Because it includes a raw file it's too large to attach here, but I've uploaded it to google docs.

https://docs.google.com/leaf?id=0BxkCj94TA_zOMjNiY2QwYWEtNzliMS00YTg3LWE4YzMtZWM0ZTIyZjA5MTg3&hl=en
Comment 4 Martin Nordholts 2011-04-19 04:48:11 UTC
I don't think we want a 19 MB file in the GEGL source tree, can you make it smaller and compress it somehow? IANAL but we might also need to add a --enable-gpl switch to configure since libraw is GPLv3
Comment 5 tones111 2011-04-20 00:00:06 UTC
I completely agree that any raw test is going to add a relatively large amount of data to the repository due to the fact that the raw source file itself is going to be large.  My camera's raw files are ~12MB.  In this case I don't think the benefit of having a test is worthwhile with the size of the patch that's going to be required.
Comment 6 Jon Nordby 2011-10-02 19:16:07 UTC
*** Bug 651288 has been marked as a duplicate of this bug. ***
Comment 7 Jon Nordby 2011-10-02 19:18:33 UTC
Created attachment 198037 [details] [review]
Alternative patch

From duplicate bug
Comment 8 Øyvind Kolås (pippin) 2015-06-08 17:37:59 UTC
I'm sorry that the patches in this bug has managed to sit uncommited for so long, the patches have been brought up to date with current APIs and integrated with GEGL master.

commit 73ca89e42f5b0f0290d08be05650f0b86ffe5ec9
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Mon Jun 8 19:32:52 2015 +0200

    openraw: remove in favor of libraw

commit f8447e2cebf51d80d76398fa7e91bbcd892a3200
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Mon Jun 8 19:27:35 2015 +0200

    libraw: rewrite from Paul Sbarra
    
    A more feature-rich and less glitchy, implementation from Paul Sbarra
    <tones111@hotmail.com> in bug #647733

commit 0ae4d72520bee8c3324d201fb0514021dc9cf46a
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Mon Jun 8 19:02:11 2015 +0200

    raw-load: fix compilation warnings

commit 8a77a5548b9ada8e2ff707e9b30b049e3ed114a0
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Mon Jun 8 18:52:06 2015 +0200

    ops: rename raw-load to dcraw-load, and lraw-load to rawload

commit 556e8589fe74a281a05f8219eaab4fab29c05753
Author: Øyvind Kolås <pippin@gimp.org>
Date:   Sat May 23 16:18:40 2015 +0200

    add libraw based raw loader op
    
    Add a libraw op based on rough cleanup to make the patch in
    
    https://bugzilla.gnome.org/show_bug.cgi?id=647733
    
    compile with git master.
Comment 9 Debarshi Ray 2015-11-16 17:12:44 UTC
*** Bug 743543 has been marked as a duplicate of this bug. ***