apex / capture

Lambda function to capture a URL as PNG, JPG, or GIF using PhantomJS
108 stars 5 forks source link

capture

Lambda function to convert a URL to PNG, JPEG, or GIF using PhantomJS.

Installation

Add capture to your Apex project:

$ git submodule add https://github.com/apex/capture.git functions/capture

Deploy it:

$ apex deploy capture

Try it:

$ apex invoke capture < functions/capture/event.json

API

Input:

Output:

Badges


tjholowaychuk.com  ·  GitHub @tj  ·  Twitter @tjholowaychuk