unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Small change in image-dired.el
Date: Sat, 29 Mar 2008 17:38:57 -0400	[thread overview]
Message-ID: <jwv7iflkycd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <v9ve35i5kc.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sat, 29 Mar 2008 22:27:47 +0100")

>>> When cleaning my mailbox I found an old request from Stefan Reichör
>>> asking if tumme (as it was called back then) could preserve the
>>> timestamp of rotated original files. [...]
>> What is the rationale for such a "feature"?  
> When a picture from a digital camera has the wrong orientation, it
> might be useful to preserve the time stamp when fixing it.  Not all
> programs honor the EXIF info or the camera might do it wrong (due to
> misconfiguration?).

If the program doesn't honor the EXIF info and uses the file's timestamp
as "the time the photo was taken", then there's not much we can do and
the time will often be wrong for whatever reason (e.g. you copied the
files).

So what we should do is check the EXIF info: if the photo's date is
missing, we should take the file's timestamp and put it as the
photo's date.  Then we can go on and change the file's time stamp all
we want.


        Stefan




  reply	other threads:[~2008-03-29 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 20:08 Small change in image-dired.el Mathias Dahl
2008-03-29 20:27 ` Stefan Monnier
2008-03-29 21:27   ` Reiner Steib
2008-03-29 21:38     ` Stefan Monnier [this message]
2008-03-30  0:55   ` Mathias Dahl

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7iflkycd.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).