From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Julien Cubizolles <j.cubizolles@free.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Embedding and extracting license/author information in an image file
Date: Tue, 08 Dec 2015 06:06:15 -0500 [thread overview]
Message-ID: <m2bna1ci8o.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <87si3ege68.fsf@free.fr>
Julien Cubizolles writes:
> I often include images in my org documents and would like to properly
> cite the license, and/or author.
This is usually done manually in a citation in the caption I think.
>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
Making the xml would not be too difficult in emacs, but I guess you
would have to call some external program to insert xmp into the images.
>
> * getting org to add a footnote with this information when linking to a
> file with this kind of information.
This would not work reliably. I could imagine an insert figure link
which would check for the data and do that, or perhaps a
post-insert-link hook function, but neither of these would work if you
simply type in a link. What should happen with images that don't contain
the data?
>
> Could it be done? Do you know of an emacs package providing read/write
> access to this metadata?
None I know of. I looked at something similar for pdf, but did not find
anything but external programs.
>
> Footnotes:
>
> [fn:1] https://en.wikipedia.org/wiki/Extensible_Metadata_Platform
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
next prev parent reply other threads:[~2015-12-08 11:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 21:08 Embedding and extracting license/author information in an image file Julien Cubizolles
2015-12-07 21:30 ` Rasmus
2015-12-08 9:45 ` Julien Cubizolles
2015-12-08 8:21 ` Eric S Fraga
2015-12-08 10:14 ` Julien Cubizolles
2015-12-08 10:15 ` Julien Cubizolles
2015-12-09 8:11 ` Eric S Fraga
2015-12-08 11:06 ` John Kitchin [this message]
2015-12-08 13:55 ` Julien Cubizolles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bna1ci8o.fsf@andrew.cmu.edu \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=j.cubizolles@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.