Files
libgphoto2/examples
Marcus Meissner a3b9afebf0 handle an error (coverity)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14984 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-06-01 17:15:21 +00:00
..
2013-09-01 11:14:36 +00:00
2008-10-12 19:43:22 +00:00
2013-01-09 20:04:22 +00:00
2014-05-02 14:08:01 +00:00
2014-05-02 14:41:17 +00:00
2013-02-20 21:52:05 +00:00
2009-07-31 15:59:23 +00:00
2012-03-20 08:18:03 +00:00

Sample snippets for programmatic camera usage.

This directory contains sample snippets for your C/C++ program accessing
cameras for various purposes.

Files with helper routines:
	autodetect.c: Auto detecting multiple cameras and initializing
	              specific cameras.

	config.c: Querying and setting configuration values.

	context.c: Handling of GPContext for error reporting and so on.

	samples.h: Header file for above helper files.

Files with samples:
	sample-autodetect.c: Simple camera autodetection and simple API
			     calls.

	sample-multi-detect.c: Same as above, but autodetect and use all
	                       cameras.

	sample-owner.c:	Gets or Sets the Camera Owner. Demonstrates string
			variable configuration handling.

	sample-capture.c: Minimalistic remote capture sample.

	sample-trigger-capture.c: New capture trigger and then loop example.

	lunkwill-canon-capture.c: A simple capture program that captures
	                          a single image, retrieves it to disk,
				  and removes it from the camera.
				  (Despite the Canon comments this likely
				   works on all capture cameras.)

	preview.c: A sample preview loop, it will get 100 previews in
			1 row as fast as possible. 


If you find a common thing to do missing, please report them (or do them
yourselves and send patches).

Please do not keep good sample code for yourself.

Marcus Meissner <marcus@jet.franken.de>