• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    C#
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A .Net Standard library for editing Exif metadata

License Nuget

Travis AppVeyor

ExifLibrary is a .Net Standard library for editing Exif metadata contained in image files.

Installation

If you are using NuGet you can install the assembly with:

PM> Install-Package ExifLibNet

Quick Start

To read an image file and extract metadata:

var file = ImageFile.FromFile("path_to_image");

// the type of the ISO speed rating tag value is unsigned short
// see documentation for tag data types
var isoTag = file.Properties.Get<ExifUShort>(ExifTag.ISOSpeedRatings);

// the flash tag's value is an enum
var flashTag = file.Properties.Get<ExifEnumProperty<Flash>>(ExifTag.Flash);

// GPS latitude is a custom type with three rational values
// representing degrees/minutes/seconds of the latitude 
var latTag = file.Properties.Get<GPSLatitudeLongitude>(ExifTag.GPSLatitude);

To add metadata:

var file = ImageFile.FromFile("path_to_image");
// note the explicit cast to ushort
file.Properties.Set(ExifTag.ISOSpeedRatings, <ushort>200);

To save the image with metadata:

file.Save("path_to_image");

Documentation

Please visit: http://oozcitak.github.io/exiflibrary/

More Repositories

1

xmlbuilder-js

An XML builder for node.js
CoffeeScript
916
star
2

xmlbuilder2

An XML builder for node.js
TypeScript
365
star
3

imagelistview

A .NET listview control for image files with asynchronously loaded thumbnails.
C#
163
star
4

SimpleCad

A basic CAD-like control surface for winforms.
C#
98
star
5

akismet-js

Akismet API client for node.js
TypeScript
31
star
6

TabControl

A winforms control with multiple tabs.
C#
27
star
7

WizardControl

Wizard control for winforms
C#
13
star
8

PagedControl

A winforms control with multiple pages.
C#
13
star
9

dom

A modern DOM implementation
TypeScript
11
star
10

eve-corp-portal

A custom CMS for corporations in the game Eve Online
PHP
8
star
11

TriMesh

A delaunay mesh generator.
C#
6
star
12

FileSystemControls

Various shell controls for winforms.
C#
5
star
13

canphotoblog

A dead easy photo blogging application powered by node.js
CoffeeScript
5
star
14

meshgenerator

Automatically exported from code.google.com/p/meshgenerator
C#
4
star
15

uts46

A Javascript implementation of Unicode IDNA Compatibility Processing (UTS 46)
TypeScript
4
star
16

SapCleaner

Batch deletes Sap2000 analysis files
C#
3
star
17

url

An implementation of the URL Living Standard
TypeScript
2
star
18

glcanvas

OpenGL Canvas Control for .Net
C++
2
star
19

infra

An implementation of the Infra Living Standard
TypeScript
2
star
20

util

Utility functions
TypeScript
2
star
21

xmlbuilder-typing-tests

Repository for testing TypeScript API of xmlbuilder.
TypeScript
1
star
22

oozcitak

1
star
23

perf

Performance testing for node.js
JavaScript
1
star
24

dotfiles

The contents of my dotfiles
Vim Script
1
star