Autor Beitrag
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Mo 29.10.07 15:00 
Hallo,

wie kann ich die Details von Dateien auslesen? Zum Beispiel bei Fotos das Aufnahmedatum, letze Änderung oder sowas...
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 29.10.07 15:06 
Bei JPEGs stehen Solche Daten in den EXIF-Daten drin. Ne Suche dazu hier, in anderen Foren oder bei Torry sollte da einiges liefern.

_________________
We are, we were and will not be.
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Di 06.11.07 17:10 
Und bei Musik? MP3, WMA, WAV...
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 06.11.07 17:13 
Bei mp3 steht der Kram im ID3-Tag (guckst du hier), bei WMA im WMA-Tag (guckst du hier), und bei Wav gibts sowas afaik nicht wirklich. Bei anderen Formaten bin ich überfragt, im Zweifel bei wotsit.org nachgucken, das dürfte für den Einstieg ganz gut sein.

_________________
We are, we were and will not be.
Stefan.Buchholtz
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 612

WIN 2000, WIN XP, Mac OS X
D7 Enterprise, XCode, Eclipse, Ruby On Rails
BeitragVerfasst: Di 06.11.07 17:16 
Für MP3s kannst du Gausi's MP3FileUtils benutzen. Bei anderen Dateiformaten musst du dich wohl auf die Suche nach anderen Bibliotheken machen. Leider werden solche Metadaten bei fast allen Dateiformaten unterschiedlich gespeichert, deswegen gibt es einfach keine Methode, die für alle Dateitypen funktioniert.

Stefan

_________________
Ein Computer ohne Windows ist wie eine Schokoladentorte ohne Senf.