Linux photography

From YobiWiki
Jump to navigation Jump to search




Get at least v2.4.9 for using all Canon features & remote shooting with 5Dmkii

  • gphoto2 --config allows to change many settings, e.g. the owner string
  • Remote capture:
    • gphoto2 --get-config capturetarget
    • gphoto2 --set-config capturetarget=sdram
    • gphoto2 --get-config capture
    • gphoto2 --set-config capture=on
    • gphoto2 --capture-image-and-download
  • For Bulb mode:
    • Switch dial to 'M'anual mode
    • gphoto2 --set-config shutterspeed=bulb
    • gphoto2 --set-config bulb=1 --wait-event=10s --set-config bulb=0 --wait-event-and-download=5s
  • Misc controls for remote capture: Image Format, ISO, WhiteBalance, Whitebalance Adjust, DriveMode, Picture Style, Bulb Mode, BracketMode, Aperture, ShutterSpeed, Autofocus (in LiveView mode), Manual Focus (in LiveView mode), Viewfinder


  • gvfs-backends - userspace virtual filesystem - backends
    • contains the gphoto2 backend
  • gphotofs - filesystem to mount digital cameras
  • libwine-gphoto2-unstable - Windows API implementation - camera module
    • This package contains a TWAIN interface that allows Windows
  • kamera - digital camera support for KDE applications
  • gtkam - application for retrieving media from digital cameras
  • gtkam-gimp - gtkam gimp plugin to open digital camera pictures

Photo management applications

  • f-spot - personal photo management application
  • shotwell - digital photo organizer
  • digikam - digital photo management application for KDE
  • gthumb - an image viewer and browser
  • ansel1 - Horde photo management application
  • mapivi - Photo viewer and organizer with emphasis on IPTC fields

Data recovery

  • testdisk - Partition scanner and disk recovery tool
    • => photorec
    • Canon Raw picture (.crw)
    • Canon catalog (.ctg)
    • JPEG picture (.jpg)


  • exif - command-line utility to show EXIF information in JPEG files
  • exifprobe - Read metadata from digital pictures
  • exiv2 - EXIF/IPTC metadata manipulation tool
    • Nice one, can copy/paste exif data with ex/in commands
  • exiftags - utility to read Exif tags from a digital camera JPEG file
  • metacam - extract EXIF information from digital camera files
    • In addition to the standard EXIF fields, MetaCam also supports vendor-specific extensions from Nikon, Olympus, Canon and Casio.
  • jhead - manipulate the non-image part of Exif compliant JPEG files
  • pecomato - Picture-embedded contents manipulation tool


  • renrot - Rename and rotate files according to EXIF tags
  • exiftran - transform digital camera jpeg images
    • jpegtran


  • gpscorrelate-gui - correlates digital photos with GPS data filling EXIF fields (GUI)
  • gpsprune - visualize, edit, convert and prune GPS data


  • dcraw - decode raw digital camera images
    • Supports the following models: Canon, Kodak, Olympus, Nikon, Fuji, Minolta and Sigma
  • gimp-dcraw - GIMP plug-in for loading RAW digital photos


  • exrtools - A collection of utilities for manipulating OpenEXR images
  • pfstools - command line HDR manipulation programs
  • qtpfsgui - graphical user interface providing a workflow for HDR imaging


  • jpegpixi - Remove hot spots from JPEG images with minimal quality loss
  • phatch - simple to use Photo Batch Processor - GUI

Old scripts

If you don't like having files named IMG_1234.JPG, you can try sth like this to rename the images _yyyy_mm_dd-xxx.jpg_

for i in *.JPG;do $i 2>/dev/null |\
   gawk -v i=$i -v j=$j '
           system("mv "i" " sprintf(a[1] "_" a[2] "_" a[3] "-" "%03d" ".jpg",j))

See also option "mv" of command "exiv2", which does pretty much the same