AerisG222 / NExifTool

.Net wrapper for the excellent ExifTool
MIT License
32 stars 14 forks source link

MIT licensed NuGet Travis Coverity Scan

NExifTool

A .NET library to wrap the functionality of ExifTool.

Motivation

To create a simple wrapper around this excellent program to allow .NET programs to easily access exif data for images.

Installation

Usage

using System.Threading.Tasks;
using NExifTool;

namespace Test
{
    public class Example
    {
        public async Task Test(string srcFilename)
        {
            var et = new ExifTool(new ExifToolOptions());
            var list = await et.GetTagsAsync(srcFilename);

            // use list...
        }
    }
}

Developing

The exiftool.xml file was produced using the latest ExifTool on my system, using the command: exiftool -listx. This file is then processed to produce a lookup table of tags / english descriptions, which is then used when parsing out the results. This xml file is the input to the XSLT that generates the TagMetadata.cs file.

Contributing

I'm happy to accept pull requests. By submitting a pull request, you must be the original author of code, and must not be breaking any laws or contracts.

Otherwise, if you have comments, questions, or complaints, please file issues to this project on the github repo.

Todo

I hope to make many improvements to the library as time permits.

License

NExifTool is licensed under the MIT license. See LICENSE.md for more information.

Dependencies