Project

tinyimage

0.0
No commit activity in last 3 years
No release in over 3 years
CLI tool for compressing an image on the clipboard
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

tinyimage

This is a CLI tool that allows you to compress an image on macOS's clipboard using TinyPNG's API. I use it personally when making screenshots to put into a Jekyll based static site.

Requirements

  • Currently only macOS is supported (pull requests accepted!)
  • To access image data on the clipboard, pngpaste is used. You can install it via homebrew.
  • An API key from TinyPNG. Get yours for free from here: tinypng.com/developers

Installation

The easiest way to install it is with RubyGems via the normal install method gem install tinyimage.

Usage

Just type tinyimage at a prompt and follow the instructions provided.

License

MIT