New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

NExifTool

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NExifTool

.Net wrapper for the excellent ExifTool

Source
nugetNuGet
Version
0.12.0
Version published
Maintainers
1
Created
Source

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

  • NExifTool depends on ExifTool from https://www.sno.phy.queensu.ca/~phil/exiftool/ in order to work, therefore, ExifTool must be installed.
  • NExifTool can then be added to your project via the NuGet package.

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

Keywords

exif

FAQs

Package last updated on 03 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts