Description tags

  • Автор темы Автор темы Mankush
  • Дата начала Дата начала

Mankush

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

Вложения

  • description.jpg
    description.jpg
    25,6 KB · Просмотры: 465
There are no in-built tools for it. Google for C# solutions :)
 
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?
 

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