How to get the EXIF data from a file using C# -
i write small program in c# goes through jpeg photos and, example, sorts them dated folders (using dating conventions, dammit...).
does know relatively easy way @ exif data such date , time or exposure programatically? thanks!
as suggested, can use 3rd party library, or manually (which not work), simplest , flexible perhaps use built-in functionality in .net. more see:
system.drawing.image.propertyitems property
i "it’s flexible" because .net not try interpret or coalesce data in way. each exif array of bytes. may or bad depending on how control want.
also, should point out property list not in fact directly correspond exif values. exif stored in multiple tables overlapping id’s, .net puts in 1 list , redefines id’s of items. long don’t care precise exif id’s, should fine .net mapping.
Comments
Post a Comment