LIBGPHOTO2(3)

πŸ“¦
version 2.5.34 Β· 2 versions
  • 2.5.34 Β· alpine 3.24, arch rolling, centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.5.27 Β· centos-stream 9, ubuntu jammy
, in alpine 3.24, arch rolling, centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay so bestie, meet libgphoto2 β€” it's the cross-platform digital camera library πŸ’– (this is the LIBGPHOTO2(3) page from The gPhoto2 Reference, section 3 of the manual, if you were wondering where you wandered into πŸŽ€)


πŸ“Έ SYNOPSIS πŸ“Έ

#include <gphoto2/gphoto2.h>

like that's it, that's the doorway, just let her in 🫢


πŸ’… DESCRIPTION πŸ’…

The gphoto2 library hands your applications access to a whole variety of cameras. yes, a variety, she's versatile, she's multitalented, she contains multitudes πŸ”₯

This man page is gonna get extended with autogenerated documentation of the interface types and methods used for communication between the gphoto2 library and a frontend. so like... right now she's a work in progress and that's iconic of her honestly ✨


πŸŽ€ FILES πŸŽ€

  • ~/.gphoto/settings β€” here, gphoto2 applications may store their configuration used to access gphoto2. it's her little diary, respect it πŸ’œ

To track down errors, you can add the --debug parameter to the gphoto2 command line and, if dealing with USB problems, setting the environment variable USB_DEBUG=1. detective mode activated πŸ”


🌸 ENVIRONMENT VARIABLES 🌸

  • CAMLIBS β€” if set, defines the directory where the libgphoto2 library looks for its camera drivers (camlibs). You only need to set this on Windows systems and broken/test installations. so like, don't touch it unless things are weird, okay? πŸ™ˆ
  • IOLIBS β€” if set, defines the directory where the libgphoto2_port library looks for its I/O drivers (iolibs). You only need to set this on Windows systems and broken/test installations. same energy, different lib, periodt πŸ’…
  • LD_DEBUG β€” set this to all to receive lots of debug information regarding library loading on ld based systems. it's giving info dump, and honestly? we love a chatty linker πŸ—£οΈ
  • USB_DEBUG β€” if set, defines the numeric debug level with which the libusb library will print messages. In order to get some debug output, set it to 1. lowkey just set it to 1 and vibe 😌

πŸ‘‘ SEE ALSO πŸ‘‘

iykyk, go read the siblings too, they're all slaying in their own lanes πŸ¦‹


🌈 AUTHOR 🌈

The gPhoto2 Team.

Hans Ulrich Niedermann <gp@n-dimensional.de>. (man page)

not me thanking the whole team, they literally built this πŸ’–


⭐ REFERENCES ⭐

  1. gphoto website β€” http://www.gphoto.org/

bestie reminder: this whole page is from The gPhoto2 Reference, libgphoto2(3), dated 08/16/2006, footer reads LIBGPHOTO2(3) β€” go forth and photograph everything, you got this πŸŽ€πŸ’…βœ¨
πŸ“¦ where this page comes from