gPhoto

From Gentoo Wiki
Jump to: navigation, search


Resources

gPhoto is a set of software applications and libraries for use in digital photography. gPhoto supports not just retrieving of images from camera devices, but also upload and remote controlled configuration and capture, depending on whether the camera supports those features. - Wikipedia, the free encyclopedia

Installation

gPhoto support can be enabled system-wide by setting the USE variable to gphoto2.

FILE /etc/portage/make.conf
USE="gphoto2"

Enabling gPhoto support will pull in the media-libs/libgphoto2 package, which has the following USE flags:

USE flags for media-libs/libgphoto2 Library that implements support for numerous digital cameras

doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally global
examples Install examples, usually source code global
exif Add support for reading EXIF headers from JPEG and TIFF images global
gd Add support for media-libs/gd (to generate graphics on the fly) global
jpeg Add JPEG image support global
nls Add Native Language Support (using gettext - GNU locale utilities) global
serial Enable serial port support local

The system needs to be updated if the USE variable was set to gphoto2.

root #emerge --ask --changed-use --deep @world

Install media-gfx/gphoto2 for a command-line interface to libgphoto2.

root #emerge --ask gphoto2

Usage

To import images from a camera, plug it in, change to the image import directory, and run:

user $gphoto2 -p