itay-grudev / shotgun_ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ShotgunRuby

ShotgunRuby is a Ruby gem based on the shotgun screenshotting tool. It is mainly developed as a fast screenshot tool for the Loading-Detector project.

Usage

ShotgunRuby can be used via the ShotgunRuby.screenshot() function. It takes 2 parameters.
1. The id of the window it is supposed to screenshot 2. The path to where it should save the screenshot

When the screenshot is successfully taken the function return the filepath back.

For ShotgunRuby to be able to work it needs a system that uses X11.

Installation

You can install ShotgunRuby using Rubygems:

gem install shotgun_ruby

Alternatively you can clone the repository and install it manually using the Rakefile

rake compile build install

Librarys

You need to install the libclang-dev library

sudo apt install libclang-dev

About

License:Mozilla Public License 2.0


Languages

Language:Rust 76.1%Language:Ruby 23.9%