-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load common properties after calling ReadMetadata #278
Comments
Thanks for your feature request. This is very similar in spirit to drewnoakes/metadata-extractor#10. |
Yes please! I need to access the copyright tag in my image but the directory I need to look in depends on the extension of the image, which makes it the code really ugly |
I would like to know if there's been any update with this issue. I think it's great to have an API so those that require it can browse into the details of the metadata... but if you just need some common properties, it's forcing everybody to reinvent the wheel into following the same steps to retrieve a given property. maybe the solution would be to add a LINQ like API that would be implemented like this: IEnumerable<Directory> directories = ImageMetadataReader.ReadMetadata(imagePath);
string title = directories.SelectTitles().FirstOrDefault();
string author = directories.SelectAuthors().FirstOrDefault();
GeoLocation loc = directories.SelectGeoLocations().FirstOrDefault(); |
There are some commonly used properties for images, ref:
So I hope there will be some helper method to get these properties from IReadOnlyList.
Example code:
Thank you very much ❤❤❤
The text was updated successfully, but these errors were encountered: