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 762471 - Allow external app to "see" gnome-photos editings
Allow external app to "see" gnome-photos editings
Status: RESOLVED OBSOLETE
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks: 740434
 
 
Reported: 2016-02-22 16:32 UTC by Rafael Fonseca
Modified: 2018-01-23 09:52 UTC
See Also:
GNOME target: ---
GNOME version: 3.19/3.20



Description Rafael Fonseca 2016-02-22 16:32:28 UTC
If we edit a photo with gnome-photos and use its option to open the photo in another application, the editing operations are not exported and the user only sees the original photo.

We should export the edited file to the external application.

This bug complements bug 740434.
Comment 1 Umang Jain 2018-01-06 02:00:14 UTC
> We should export the edited file to the external application.
> 
> This bug complements bug 740434.

Did you talk about this with Debarshi. I don't think anything like this is possible because to my best knowledge editing is driven by GEGL which is "non-destructive" editing. So, unless the image is "exported", there is no way any other application can see those edits.

https://en.wikipedia.org/wiki/Non-linear_editing_system
Comment 2 Debarshi Ray 2018-01-06 18:12:33 UTC
(In reply to Umang Jain from comment #1)
> Did you talk about this with Debarshi.

Yes, we spoke about this and (a few other issues) in the past.

> I don't think anything like this is
> possible because to my best knowledge editing is driven by GEGL which is
> "non-destructive" editing. So, unless the image is "exported", there is no
> way any other application can see those edits.
> 
> https://en.wikipedia.org/wiki/Non-linear_editing_system

There are a few ways to implement this.

An elaborate way to fix this would be to have a common data exchange format with a few other image processing programs (say, for example, Darktable). Darktable is also a non-destructive editor that stores its edits in XML. Specifically, one XMP file per source image. Currently, we have an almost 1:1 correspondence between the GEGL operations used by GNOME Photos and Darktable's own operations. It would need a bit more work, but it is already pretty well aligned. Given the similarity, we could possibly serialize our pipeline to a format understood by Darktable so that the edits would be transparently handed over.

We could also look at OpenRaster.

XCF is another option, but given GIMP's non-destructive editing aspirations, I don't know how relevant it would be in future.

However, it is clear that we can't possibly interoperate with all the image processing applications out there. So we need a graceful fallback. For that, we could export the image to a temporary file and pass it to the other application. This is similar to the e-mail share-point and the way we set the background wallpaper, and hence more achievable in the immediate short-term.
Comment 3 Umang Jain 2018-01-06 19:42:26 UTC
> There are a few ways to implement this.
> 
> An elaborate way to fix this would be to have a common data exchange format
> with a few other image processing programs (say, for example, Darktable).

Exactly, need a common reference base to show edits on the photos.

> Darktable is also a non-destructive editor that stores its edits in XML.
> Specifically, one XMP file per source image. 

I think you meant "XML file" instead of "XMP file"
Comment 4 GNOME Infrastructure Team 2018-01-23 09:52:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-photos/issues/41.