VNCCAPTURE(1p)

πŸ“¦
version 0.40 Β· 2 versions
  • 0.40 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.40 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ vnccapture β€” bestie edition πŸ’–

okay so real talk, this is vnccapture, part of the User Contributed Perl Documentation situation, and it literally does one iconic thing: grabs you a screenshot over VNC. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

vnccapture [options] [numcaptures]

and here's the whole menu of options, no gatekeeping:

Options:
  -P --password=str   password for the VNC server, if applicable
  -H --host=str       address of VNC server (default: 'localhost')
  -p --port=num       TCP port for VNC server (default: 5900)
  -d --depth=8|16|24  screen depth for capture (default: 24)
  -t --type=ext       image type for output (default: 'png')
  -C --cursor         include the mouse cursor in the image
  -o --outfile        capture to the specified path
                      otherwise capture to "snapshot<num>.<type>"
  -v --verbose        print status and diagnostics to STDOUT
  -h --help           verbose help message
  -V --version        print the Net::VNC version

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: it connects to a VNC server and captures the screen, and it can do that one time or multiple times (that's what [numcaptures] is for, the way that it just keeps going πŸ’…).

the output gets written to something like snapshot0001.png. the number in there is the sequence of captures, and the extension is whatever you told --type to be. lowkey elegant, honestly.

and --type? bestie, it can be any format that Image::Imlib2 can support. any. go feral. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

  • Net::VNC
  • Image::Imlib2

πŸ’œ AUTHOR πŸ’œ

Chris Dolan, cdolan@cpan.org β€” absolute icon, we stan 🫢


and that's the whole page, bestie! this came to you via perl v5.34.0, dated 2022-06-16, and yes this is the VNCCAPTURE(1p) moment β€” go capture something cute πŸŽ€βœ¨πŸ“Έ

πŸ“¦ where this page comes from