Description tags

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
Can zenno read description tags of jpg ?
 

Вложения

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
There are no in-built tools for it. Google for C# solutions :-)
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
I have tried - after reading this page (http://stackoverflow.com/questions/2280948/reading-data-metadata-from-jpeg-xmp-or-exif-in-c-sharp)

Seems that I should be looking for exif.

Tried this code snippet:
publicstringGetDate(FileInfo f){FileStream fs =newFileStream(f.FullName,FileMode.Open,FileAccess.Read,FileShare.Read);BitmapSource img =BitmapFrame.Create(fs);BitmapMetadata md =(BitmapMetadata)img.Metadata;string date = md.DateTaken;Console.WriteLine(date);return date;}

Basically I get errors.

Tried this page:
http://www.holmessoft.co.uk/homepage/Software/ExifUsage.htm

It is written it has a library - maybe I should download some parsing library of some sort?
I have not idea how to approach this - could you give me a direction?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)