Hero
Hero is a command line tool for creating Hero images
Requirements
Go
Install Golang & add the required environment variables
See https://golang.org/doc/install#install
libvips
hero requires that libvips is installed and on your $PATH
Ubuntu/Depian
apt-get install vips
MacOs
brew install vips
Windows
Download the latest zip from https://github.com/jcupitt/libvips/releases
Installation
go get github.com/sinnott74/hero
The command hero
will be installed at $GOPATH/bin/
Usage
hero --help
Hero creates banner images to be displayed on a website
Usage:
hero [flags]
Flags:
-c, --color string Background color (default "red")
-y, --height int Max y coordinate of the hero - height of the hero (default 480)
-h, --help help for hero
-i, --icons stringArray Icons
-s, --iconsize int Width and height of the incons on the hero (default 300)
-o, --output string File to output (default "./hero.png")
-x, --width int Max x coordinate of the hero - width of the hero (default 960)
Example
hero -c purple -i typescript.png -i apache.png -o hero.png
will create the following hero image: