LWN.net Logo

Pasting images with automatic attribution

Pasting images with automatic attribution

Posted Sep 27, 2013 9:09 UTC (Fri) by ballombe (subscriber, #9523)
Parent article: Pasting images with automatic attribution

All the standard image format allow to embed metadata.
Why not store attribution there ? This would be simpler and more robust.


(Log in to post comments)

Pasting images with automatic attribution

Posted Sep 27, 2013 10:36 UTC (Fri) by sorpigal (subscriber, #36106) [Link]

GIF doesn't do metadata in any useful way. PNG meta data is either limited or not standardized. JPEG meta data has several formats which are not consistently supported.

A single standard that doesn't care about image format seems simpler to me.

Pasting images with automatic attribution

Posted Sep 27, 2013 11:23 UTC (Fri) by petli (guest, #93051) [Link]

The best bet for embedding metadata seems to be XMP, which allows structured, extensible data. It is supported by PNG, JPG, TIFF and PDF, at least when the tools don't strip it.

Pasting images with automatic attribution

Posted Oct 3, 2013 15:19 UTC (Thu) by Seegras (subscriber, #20463) [Link]

> The best bet for embedding metadata seems to be XMP, which allows
> structured, extensible data. It is supported by PNG, JPG, TIFF and PDF,
> at least when the tools don't strip it.

Yes, and you should use embedded metadata. Always.

In the end, there are NOT many file formats you really need. For Images, its basically PNG, JPG, TIFF; for vectors its SVG, for (finished) Documents its PDF, DJVU and EPUB, for Music its MP3, OGM and FLAC, for Movies its MKV, and maybe MP4. Everything else can be converted.

I wrote some scripts and such for coping with embedded metadata:
http://seegras.discordia.ch/Blog/category/computers/metad... and
http://seegras.discordia.ch/Programs/ (namely, in the above context, exif-rename and exif-meta, which will work with exif, but are mostly about XMP).

Pasting images with automatic attribution

Posted Sep 27, 2013 11:19 UTC (Fri) by petli (guest, #93051) [Link]

Thank's for a very good question! I wrote a follow-up blog post to answer it in more detail than what fits here:
http://commonsmachinery.se/2013/09/embedded-or-linked-met...

The short version is that it was much easier to do this demonstration with linked metadata. Firefox, GTK and many, many other systems routinely discard embedded metadata. It is still an open question if the answer is to give up embedded metadata, or try to fix all the tools.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds