🏄 Generate beautiful screenshots
I decided to open source the tool I've developed to create this:
brew install pkg-config cairo libpng jpeg giflib imagemagick
npm install -g awsnap
Usage
$ awsnap <command> <params>
Examples
$ awsnap generate 2000 800 f7d794 extras/ss.png extras/output.png 1500 700
this will generate an image with the size of 2000 x 800
, color #f7d794
, screenshot at extras/ss.png
will output into extras/output.png
and optionally will crop the image to be 1500 x 700
Here you can see the ss.png
:
the output is:
awsnap generate 2000 800 d3d3d3 extras/ss.png extras/output.png 1500 700
awsnap generate 2000 800 718B71 extras/ss.png extras/output2.png 1500 700
awsnap generate 2000 800 d3d3d3 extras/ss.png extras/output3.png 1500 700
MIT © Cesar Ferreira