emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small change in image-dired.el


From: Stefan Monnier
Subject: Re: Small change in image-dired.el
Date: Sat, 29 Mar 2008 17:38:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]