Project

imgclip

0.0
No commit activity in last 3 years
No release in over 3 years
Save images from the clipboard!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 10.0
 Project Readme

Imgclip

Build Status Maintainability Coverage Status License: GPL v3 Gem Version

A simple gem with a native C extension, that allow storing images from clipboard directly into the file.

Installation

gtk is required since extension uses gtk library to retrieve image from clipboard.

gem 'imgclip'

And then execute:

$ bundle

Or install it yourself as:

$ gem install imgclip

Usage

require "imgclip"
Imgclip.clipboard_to_file PATH #=> returns path or exception

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vmikhaliuk/imgclip. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Code of Conduct

Everyone interacting in the Imgclip project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.