Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

AerisG222/NExifTool

Repository files navigation

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...
        }
    }
}
  • View the tests for more examples

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.

  • Ability to read/write specific tag(s)
  • Add tests

License

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

Dependencies

About

.Net wrapper for the excellent ExifTool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages