Scripting

Number of shots taken by Nikon D80 camera

The Nikon D80 camera contains a EXIF tag value that counts the number shots taken Tag (hex) Tag (dec) IFD Key Type Tag description 0x00a7 167 Makernote Exif.Nikon3.ShutterCount Long Number of shots taken by camera This can be extracted by running the following command exiv2 -pt picturename.JPG … Exif.Nikon3.ShutterCount Long 1 5263 This example shows […]

Read More
Photo etc

Strip EXIF tags from JPG files

Sometimes it’s a good idea to remove the hidden data a JPG file contains, like when you publish picures on the Internet. An easy way to remove all EXIF-tags from your JPG files is to run the command using jhead jhead -purejpg *.jpg

Read More
Scripting

Watermark pictures using exiv2

Quick and dirty batch script to watermark and add IPTC data to a set of files in the supplied dir to -Copyright. #!/bin/bash # Copyright Andy Wright – www.litost.org 2006. # You have permission to do what you want with it as long as you don’t # blame me if it insults your mother etc. […]

Read More
Linux

Nikon and capture image function from remote PC

I just figured out another nifty feature! The D70 has two USB connection modes, “mass storage” where the camera pretends to be an external hard drive, and PTP, which is an industry standard camera-computer USB protocol. Using PTP, it does not seem possible to download the camera contents with gphoto2, as I had with my […]

Read More
Windows

dcraw examples

dcraw is a linux/Windows command line tool. It can convert RAW-files and that does also include Nikons NEF-files. Raw photo decoder “dcraw” v8.73 by Dave Coffin, dcoffin a cybercom o net Usage: dcraw [OPTION]… [FILE]… -v Print verbose messages -c Write image data to standard output -e Extract embedded thumbnail image -i Identify files without […]

Read More