🏄 Generate beautiful screenshots
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
extras
src
.eslintrc.json
.gitignore
LICENSE
README.md
cli.js
facelift.json
package-lock.json
package.json
test.js
yarn.lock

README.md

awsnap

🏄 Generate beautiful screenshots

npm npm License

I decided to open source the tool I've developed to create this:

Install

brew install pkg-config cairo libpng jpeg giflib imagemagick
npm install -g awsnap

Usage

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

Created by

Cesar Ferreira

License

MIT © Cesar Ferreira