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 338360 - XMP Metadata as sidecar .xmp files
XMP Metadata as sidecar .xmp files
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Metadata
0.1.11
Other Linux
: Normal enhancement
: 0.7.1
Assigned To: F-spot maintainers
F-spot maintainers
Depends on: f-spot-taglib
Blocks:
 
 
Reported: 2006-04-13 14:58 UTC by Hubert Figuiere (:hub)
Modified: 2010-07-02 18:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Preferences screenshot. (11.39 KB, image/png)
2010-07-02 18:31 UTC, Ruben Vermeersch
Details

Description Hubert Figuiere (:hub) 2006-04-13 14:58:21 UTC
XMP Metadata should be written as sidecar .xmp files
Comment 1 Ruben Vermeersch 2006-04-13 17:05:42 UTC
For RAW files you mean, what's wrong with embedding these into JPEGs?
Comment 2 Hubert Figuiere (:hub) 2006-04-13 17:09:26 UTC
For *any* file.
What is wrong is that I see my JPEG files off camera as a pure read-only set of data.
Comment 3 Bengt Thuree 2006-05-18 07:34:36 UTC
Changing to Enhancement.

For me, the picture itself is the original.
But the exif/xmp data is the wrapping around it.

Think there is work to create/read a sidecar for raw files, but not for JPEGs.
Comment 4 Karl Palsson 2006-08-10 02:59:00 UTC
What's the point of file metadata if it's not in the file?  I understand and endore the desire for sidecar xmp files, but I _want_, nay, _demand_ that my metadata be in my file.  If an application can't be trusted to read/write metadata without touching the data itself, then that's a completely different issue.

If you  _really_ don't want to add any actual data to your precious "originals" then I bet you don't actually _use_ your originals either.
Comment 5 Bengt Thuree 2006-08-24 11:04:52 UTC
some originals perhaps do not support embedded xmp tags?
RAW files comes to mind, but I am not 100% sure.
Comment 6 Hubert Figuiere (:hub) 2006-08-24 13:31:50 UTC
RAW are not to be rewritten. I myself consider files coming from the camera to be *read-only* too.
Comment 7 John Heidemann 2006-09-02 19:33:34 UTC
About comment #2 and #6, whether or not the comments are in the file is orthogonal with whether or not there is an unaltered original file from the camera.  (If one wants an unaltered original and comments in the file, then f-spot could make a copy of the file.)

Personally, I strongly prefer keeping the metadata IN the file because it makes it much easier to back up or copy the metadata with the image.  (I.e., one can use cp rather than being forced to use f-spot, and one doesn't need to put extra files in all of the exported formats.)

About comment #5, I believe most (all?) raw formats support embedded metadata.  After all, the camera manufacturers have to save the metadata too.


Comment 8 Hubert Figuiere (:hub) 2006-09-02 22:56:46 UTC
> About comment #5, I believe most (all?) raw formats support embedded metadata. 
> After all, the camera manufacturers have to save the metadata too.
> 

Writting RAW shouldn't even be allowed. These file format are highly undocumented and modifying them, even if they are mostly TIFF containers is a sure way to have problem in the future given the overall quality and bulletproofness (or lack thereof) of software these days. As for the metadat they support, it is only EXIF (or a subset of).

As for backing up, a .xmp next to the .jpg or .{crw,cr2,nef,*} does not pose backup problems. Actually it is easier than the undocumented fspot database (yes I know it is a sqlite and the schema is quite easy to understand).

Comment 9 Artis Rozentāls 2006-10-09 11:51:03 UTC
There is also PNG wich AFAIK has no standard way to embed XMP in the file itself.
Comment 10 Larry Ewing 2006-10-09 20:04:37 UTC
png supports xmp embedding and f-spot supports xmp embedded in png.
Comment 11 herber 2007-07-08 06:03:03 UTC
It seems that some people really want metadata added to the original file but others don't.  Because there are formats, such as raw, that make it difficult to update, an option to write metadata or not should exist.  This option would be very similar to the import option to copy the files to the Photos area or not.

A different question arises at export time.  If the export format supports writing the metadata, should the metadata be written on export?  Something like 'write metadata to image during export?'

Now that I think about it, many of the suggestions for import features, such as writing a copyright notice to the image, should really be implemented in the export phase.
Comment 12 seb 2010-02-23 21:24:50 UTC
Any updates on this bug/enhancement?
I would love to have a more standardised/unified tag format. I'm hoping that it will take the pain out of (re-)using the F-spot tags in other photo software (e.g. solang)
Comment 13 Ruben Vermeersch 2010-06-19 14:56:59 UTC
Scheduling this for 0.7.1, if we can get Taglib# support ready in time (bug  618682).
Comment 14 Ruben Vermeersch 2010-07-02 18:31:42 UTC
Created attachment 165131 [details]
Preferences screenshot.

This has been added and is available on the taglib-metadata branch, which should be merged in time. The bug to watch out to is bug 618682.