 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Asko Korpela Guest
|
Posted: Fri Oct 21, 2005 8:03 am Post subject: Photo date |
|
|
I am handling photos with Delphi 7.
Using TSearchRec I get the timestamp of a downloaded photo picture file. The
timestamp, however is the date and time of the downloading from the camera,
which is of course of no interest.
How do I get the date of photgraphing the photo? I see it in Explorer, but
how do I get it into Delphi?
--
Asko Korpela
[email]Asko.Korpela (AT) nbl (DOT) fi[/email]
http://hkkk.fi/~korpela
+358-50-529 9539
|
|
| Back to top |
|
 |
Joris Van Damme Guest
|
Posted: Fri Oct 21, 2005 12:44 pm Post subject: Re: Photo date |
|
|
Asko Korpela wrote:
| Quote: | I am handling photos with Delphi 7.
Using TSearchRec I get the timestamp of a downloaded photo picture
file. The timestamp, however is the date and time of the downloading
from the camera, which is of course of no interest.
How do I get the date of photgraphing the photo? I see it in
Explorer, but how do I get it into Delphi?
|
Well, you're code is not handling photo's, it is handling files. First
question you ought to ask yourself, is, what is the file format?
From your description of the source of these files, this could be
a) jpeg, with exif data
b) tiff, with exif data
c) dng
d) a proprietary camera raw format
The solution you need, depends on the answer to that question.
--
Joris Van Damme
[email]info (AT) awaresystems (DOT) be[/email]
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
|
|
| Back to top |
|
 |
Asko Korpela Guest
|
Posted: Fri Oct 21, 2005 7:47 pm Post subject: Re: Photo date |
|
|
of course files. I am using jpg
--
Asko Korpela
[email]Asko.Korpela (AT) nbl (DOT) fi[/email]
http://hkkk.fi/~korpela
+358-50-529 9539
"Joris Van Damme" <PleaseReplyTo (AT) TheGroupInstead (DOT) be> kirjoitti
viestissä:4358e1f2 (AT) newsgroups (DOT) borland.com...
| Quote: | Asko Korpela wrote:
I am handling photos with Delphi 7.
Using TSearchRec I get the timestamp of a downloaded photo picture
file. The timestamp, however is the date and time of the downloading
from the camera, which is of course of no interest.
How do I get the date of photgraphing the photo? I see it in
Explorer, but how do I get it into Delphi?
Well, you're code is not handling photo's, it is handling files. First
question you ought to ask yourself, is, what is the file format?
From your description of the source of these files, this could be
a) jpeg, with exif data
b) tiff, with exif data
c) dng
d) a proprietary camera raw format
The solution you need, depends on the answer to that question.
--
Joris Van Damme
[email]info (AT) awaresystems (DOT) be[/email]
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
|
|
|
| Back to top |
|
 |
Asko Korpela Guest
|
Posted: Fri Oct 21, 2005 7:58 pm Post subject: Re: Photo date |
|
|
I mean file creation date
--
Asko Korpela
[email]Asko.Korpela (AT) nbl (DOT) fi[/email]
http://hkkk.fi/~korpela
+358-50-529 9539
"Joris Van Damme" <PleaseReplyTo (AT) TheGroupInstead (DOT) be> kirjoitti
viestissä:4358e1f2 (AT) newsgroups (DOT) borland.com...
| Quote: | Asko Korpela wrote:
I am handling photos with Delphi 7.
Using TSearchRec I get the timestamp of a downloaded photo picture
file. The timestamp, however is the date and time of the downloading
from the camera, which is of course of no interest.
How do I get the date of photgraphing the photo? I see it in
Explorer, but how do I get it into Delphi?
Well, you're code is not handling photo's, it is handling files. First
question you ought to ask yourself, is, what is the file format?
From your description of the source of these files, this could be
a) jpeg, with exif data
b) tiff, with exif data
c) dng
d) a proprietary camera raw format
The solution you need, depends on the answer to that question.
--
Joris Van Damme
[email]info (AT) awaresystems (DOT) be[/email]
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html
|
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Fri Oct 21, 2005 9:09 pm Post subject: Re: Photo date |
|
|
What you probably refer to is the EXIF date, the date that the photo was
exactly "snapped". Check out this site, it provides source code to do that:
http://mcguirez.homestead.com/downloads.html
Kind regards,
Nils
www.simdesign.nl
"Asko Korpela" <asko.korpela (AT) kolumbus (DOT) fi> schreef in bericht
news:4358a00d (AT) newsgroups (DOT) borland.com...
| Quote: | I am handling photos with Delphi 7.
Using TSearchRec I get the timestamp of a downloaded photo picture file.
The timestamp, however is the date and time of the downloading from the
camera, which is of course of no interest.
How do I get the date of photgraphing the photo? I see it in Explorer, but
how do I get it into Delphi?
--
Asko Korpela
[email]Asko.Korpela (AT) nbl (DOT) fi[/email]
http://hkkk.fi/~korpela
+358-50-529 9539
|
|
|
| Back to top |
|
 |
Asko Korpela Guest
|
Posted: Tue Oct 25, 2005 11:44 am Post subject: Re: Photo date |
|
|
Thank you very much. I am sure it wil solve my problem
--
Asko Korpela
[email]Asko.Korpela (AT) nbl (DOT) fi[/email]
http://hkkk.fi/~korpela
+358-50-529 9539
"Nils Haeck" <bla (AT) bla (DOT) com> kirjoitti
viestissä:4359584b$1 (AT) newsgroups (DOT) borland.com...
| Quote: | What you probably refer to is the EXIF date, the date that the photo was
exactly "snapped". Check out this site, it provides source code to do
that:
http://mcguirez.homestead.com/downloads.html
Kind regards,
Nils
www.simdesign.nl
"Asko Korpela" <asko.korpela (AT) kolumbus (DOT) fi> schreef in bericht
news:4358a00d (AT) newsgroups (DOT) borland.com...
I am handling photos with Delphi 7.
Using TSearchRec I get the timestamp of a downloaded photo picture file.
The timestamp, however is the date and time of the downloading from the
camera, which is of course of no interest.
How do I get the date of photgraphing the photo? I see it in Explorer,
but how do I get it into Delphi?
--
Asko Korpela
[email]Asko.Korpela (AT) nbl (DOT) fi[/email]
http://hkkk.fi/~korpela
+358-50-529 9539
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|