Click here to Skip to main content
6,293,171 members and growing! (11,825 online)
Email Password   helpLost your password?
Languages » VB.NET » General     Intermediate

The ExifWorks class

By Michal Altair Valasek

The ExifWorks is a class written in 100% pure managed VB.NET, which allows comfortable reading of embedded EXIF metadata.
VB, Windows, .NET 1.0, .NET 1.1VS.NET2003, Dev
Posted:8 Sep 2003
Updated:1 Feb 2006
Views:93,550
Bookmarked:55 times
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
17 votes for this article.
Popularity: 5.21 Rating: 4.23 out of 5

1

2
1 vote, 5.9%
3
3 votes, 17.6%
4
13 votes, 76.5%
5

What is EXIF

EXIF stands for Exchangeable Image File Format. This format is used for storing various metadata in images, and is widely used mainly in digital still cameras. More information about EXIF can be found here, or in the document Description of the EXIF file format by TsuruZoh Tachibanaya.

When I was trying to find any sources regarding comfort access from .NET environment to these data, I was not successful. So I wrote this class and gave it freely available as open source.

What is ExifWorks

ExifWorks is a class written in 100% pure managed VB.NET, which allows comfort reading and writing of embedded EXIF metadata. It has the following features:

  • Provides the TagNames Enum, which contains user-friendly constant names for all known EXIF parameter IDs.
  • Provides generic functions for reading EXIF parameters: GetInt16, GetInt32, GetString, and GetRational, as well as GetPropertyInt16, GetPropertyInt32, GetPropertyString, and GetPropertyRational. They may be used to simplify the access to all EXIF data from your custom application.
  • Provides a user-friendly abstraction layer for most of the common parameters, allowing easy work with EXIF data and their presentation to end users. The abstraction layer has been developed for presentation, so even if a value is not present, some data (in valid syntax) are provided. Either default values or values computed from other sources (i.e. shutter speed vs. exposure time) are provided. If you need exact data, use the generic functions instead.

The provided test application exread.exe shows working with the ExifWorks class.

Licensing

ExifReader/ExifWorks .NET library

Copyright (c) Michal A. Val�ek - Altair Commun�cations, 2003-2006

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

The text of the GNU Lesser General Public License (LGPL) is available online here.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Michal Altair Valasek


Member
Software developer, system administrator, web designer, journalist, fantasy writer, film editor and executive producer - some of occupations I held in 27 years of my age.

  • Awarded as Microsoft Most Valuable Professional (MVP) for ASP.NET technology.
  • Editor and publisher of ASPNET.CZ (formerly known as ASP Network), oldest Czech web server dedicated to Microsoft technology for the Internet.
  • Project coordinator of BDSM.CZ (http://www.bdsm.cz, first and biggest Czech non-commercial server about sadomasochism.

See my weblog (in Czech language) at http://weblog.rider.cz
Occupation: Web Developer
Location: Czech Republic Czech Republic

Other popular VB.NET articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 35 (Total in Forum: 35) (Refresh)FirstPrevNext
GeneralCannot save ISO info Pinmemberwaex9922:59 25 Jun '09  
GeneralEXIF Thumbnail PinmemberScott Rippey10:50 21 Jun '09  
Generalc# version with GPS feature (latitude, longitude) PinmemberMember 425991923:41 19 Jun '09  
GeneralOverwrite the existing file when saving. PinmemberMember 417568311:28 11 Jun '09  
GeneralLatitude/Longitude PinmemberMelanie Hugglestone12:51 20 Mar '09  
GeneralRe: Latitude/Longitude PinmemberCoffer7:49 7 Jun '09  
AnswerRe: Latitude/Longitude PinmemberMember 425991923:43 19 Jun '09  
GeneralRe: Latitude/Longitude PinmemberCoffer10:26 20 Jun '09  
GeneralSome wrong values PinmemberOnur Guzel1:28 4 Jan '09  
QuestionHow do you change EXIF properties? Pinmemberabhijitshrikhande11:53 8 Sep '08  
GeneralWritten Tags - Visibility ijn Other Products PinmemberPhilip Lippard12:35 7 Jul '08  
GeneralIDisposable Pinmemberyvdh5:31 26 May '08  
QuestionFile Lock during Opening File Pinmembermarcolino711:28 30 Aug '07  
AnswerRe: File Lock during Opening File Pinmembermarcolino71:57 31 Aug '07  
GeneralPerformance improvement (x20) Pinmemberkounch5:30 17 Jun '07  
GeneralRe: Performance improvement (x20) PinmemberTheEscort8:03 2 Jul '07  
GeneralRe: Performance improvement (x20) PinmemberRob241212:45 11 Sep '07  
GeneralRe: Performance improvement (x20) PinmemberMember 45999244:28 10 Dec '07  
GeneralUTF8 Pinmemberwaimoehtun3:01 25 Jan '07  
QuestionHow to write tags Pinmemberdalib5:56 24 Jan '07  
GeneralAnybody extracted the MakerNotes PinmemberAndy Hollis11:14 18 Jan '07  
GeneralUsing Exif Works on Raw files... PinmemberMike Allgood10:36 20 Dec '06  
GeneralC# version Pinmemberm.ridoni9:32 2 Nov '06  
Generalhelp please with display code Pinmembermarkoliverreally12:32 21 Oct '06  
GeneralGPS Propertys Pinmembergoldini200312:23 11 Oct '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 1 Feb 2006
Editor: Smitha Vijayan
Copyright 2003 by Michal Altair Valasek
Everything else Copyright © CodeProject, 1999-2009
Web16 | Advertise on the Code Project