From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Embedding and extracting license/author information in an image file Date: Mon, 07 Dec 2015 22:30:43 +0100 Message-ID: <87y4d6kku4.fsf@gmx.us> References: <87si3ege68.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a63NM-0008NZ-R4 for emacs-orgmode@gnu.org; Mon, 07 Dec 2015 16:31:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a63NJ-0001xN-L9 for emacs-orgmode@gnu.org; Mon, 07 Dec 2015 16:31:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:57570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a63NJ-0001w3-Eg for emacs-orgmode@gnu.org; Mon, 07 Dec 2015 16:31:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a63N8-0004tv-2A for emacs-orgmode@gnu.org; Mon, 07 Dec 2015 22:31:02 +0100 Received: from tsn109-201-154-146.dyn.nltelcom.net ([109.201.154.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Dec 2015 22:31:02 +0100 Received: from rasmus by tsn109-201-154-146.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Dec 2015 22:31:02 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Julien Cubizolles writes: > I often include images in my org documents and would like to properly > cite the license, and/or author. I was thinking that this could be > simplified by: > > * embedding the license/author information in some metadata of the jpg > or png file (it seems that some standard called xmp can be used to > embed data in png/jpg [fn:1]) preferably using some emacs tool > > * getting org to add a footnote with this information when linking to a > file with this kind of information. > > Could it be done ? Do you know of an emacs package providing read/write > access to this metadata ? You could probably use exiftool with org-babel or dynamic blocks to extract the required data and generated the syntax you want. Hope it helps, Rasmus -- ツ