Re: [PATCH] Improve date retreival from exif data



On Tue, 2005-04-26 at 07:32 -0500, Joseph Fruchey wrote:
> Howabout for cases where there's no EXIF, if it uses the file creation
> date? I have a lot of photos taken with my Zire 71 that have no EXIF,
> and they're all listed as the day I imported them.

I believe the correct logic would be the earlier of mtime and ctime from
stat.

Using ctime is incorrect as some systems don't let you set ctime (but
mtime is preserved from when the photo was really created)

-- 
Stewart Smith (stewart flamingspork com)
http://www.flamingspork.com/

Attachment: signature.asc
Description: This is a digitally signed message part



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