brendanashworth / nailedit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nailedit

Build Status codecov GoDoc

nailedit is a library that generates thumbnail images. It resizes images and changes their format according to passed options and uses the fastest available library to do so. It has both a command line interface and a traditional API.

CLI Usage

nailedit takes input from STDIN and pipes the thumbnail to STDOUT.

$ cat image.jpeg | nailedit > thumbnail.jpeg

$ nailedit -help

Options

  • -dimensions: dimensions of the output thumbnail image, in format WIDTHxHEIGHT
  • -format: format of the output thumbnail image (i.e., jpeg, png)

About


Languages

Language:Go 96.0%Language:Shell 4.0%