Commons:Manipulating meta data

From Wikimedia Commons, the free media repository

Jump to: navigation, search

English | Français | +/-

Photos taken with a digital camera are likely to be a JPEG image, with embedded EXIF data. So they willl have the date and time the photo was taken, and some information about the exposure, focal length etc. You can also add EXIF information to an image in order to directly tag your images with additional informations like author and copyright information if you like (but using Commons:Copyright tags is required in Wikimedia Commons nonetheless in all cases).

Contents

[edit] Purpose for using EXIF at Commons

EXIF information is always helpful in order to keep all kinds of meta information directly within the file (but it can never replace a good image description) and as it gets displayed by the MediaWiki software at the image description page in the "Metadata" section it is a good idea making this feature useful.

EXIF information is especially helpful if you don't trust people downloading your media from Commons and reusing it according to your license conditions. So license information is always kept within every image copy automatically.

Visible tags or watermarks inside images are strongly discouraged at Wikimedia Commons. So information like "Mr. Foobar, May 2005, CC-BY-SA" shall not be written directly in the image but in EXIF fields, which is technically even superior. The reasons are:

  • We don't tag our Wikipedia articles with our names in a prominent way inside the article text in order to step behind the work and let it speak for itself, the same applies to the images (stepping behind own work and thus reducing personal vanity is crucial for neutrality).
  • Reusage of images with these signatures for example for printing purpose gets limited by personal tags like at collage posters and in books (as in books you always have the copyright information in the image caption or at the end of the book and thus it would produce unprofessional duplications in page layout and would also be unfair compared to the article author's credit).

[edit] Editing EXIF-fields

[edit] Tools

The Gnu Image Manipulation Program (GIMP) is the chief Free Software image manipulation program which can handle EXIF data via an EXIF viewer plugin.

There are also several command line tools that are for example helpful for batch editing EXIF meta data like jhead and ExifTool, that can display and edit XMP, IPTC and EXIF and other metadata.

ExifTool runs on Unix, Mac OS X and Windows.

Mapivi (open source) is a picture manager which is able to add, edit, search and remove image meta information as EXIF and IPTC.

Gimp, Mapivi and jhead are also available for Mac OSX and Windows.

[edit] Linux/Unix users

GIMP is and always will be a Linux/Unix software, especially since the Windows users of GIMP usually have to wait for someone to build it for them.

Many free software image programs like the digital camera management program DigiKam and the general purpose image viewer Gwenview (both KDE based) can handle EXIF as well. In text console you can use exiv2.

[edit] MacOSX users

Apple's iPhoto can be used to edit title, date, time and keywords. The camera information can also be viewed.

JetPhoto can be used to add GPS data to a photoalbum. JetPhoto uses timestamp information to correlate tracking data from a GPS device with the timestamps on the photo. JetPhoto is freeware so there is no charge but it does not appear to be open source. Keywords, and titles can be edited but no other information.

Reveal can be used to view and edit EXIF summary and exposure data.

[edit] Windows users

Programs XnView (free for non-commercial use), Picasa (freeware) and IrfanView, (free of charge for private use) are able to edit IPTC fields such as captions, keywords, etc., but unluckily can only view most of EXIF fields. Else Exifer (postcardware) Konvertor (shareware) is capable as well editing and modifying the EXIF header.

[edit] HOWTO

Using ExifTool, setting copyright and licensing information is simple:

$ ./exiftool -ImageDescription="This is an example image" -Artist="Artist's name" \
-Copyright="This work is licensed under the Creative Commons Attribution 2.5 License. \
To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or \
send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, \
California, 94105, USA." ImageToModify.jpg

This will add two EXIF tags: Artist and Copyright (cc-by-2.5 license is used as an example).

Another example:

$ ./exiftool -ImageDescription="1988 company picnic" \
-Artist="Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James" \
-Copyright="Copyright, John Smith, 19xx. All rights reserved." Picnic1988.jpg

Note that ImageDescription and Artist are in ASCII format. For 2-byte character sets, UserComment can be used instead of ImageDescription.

To view all tags from EXIF group with their current values:

$ ./exiftool -exif:all ExampleImage.jpg

[edit] Windows users

Windows XP provides a simple and limited way to modify some EXIF fields (refer to [1]). Right click on the image file, select properties, Summary tab. The simple view enables you to edit XPTitle, XPComment, XPAuthor, XPKeywords and XPSubject from the IFD0 group. Note, that XPTitle is ignored by Windows Explorer if ImageDescription exists and XPAuthor if Artist exists. The advanced view displays limited number of other tags but doesn't allow modification.

There is also a free tool from Microsoft called Microsoft Photo Info [2] that allows extensive editing of IPTC/XMP metadata.

The powerful ExifTool is available as a stand-alone Windows executable which may be used as either a drag-and-drop or a command-line utility. Windows users may also install the Perl version of ExifTool, but this requires that a Perl interpreter (such as ActivePerl) be installed.

[edit] External Resources

Personal tools