Skip to content

Instantly share code, notes, and snippets.

@blitline-dev
Created February 1, 2019 22:13
Show Gist options
  • Save blitline-dev/90ee714a67fea7c73633cc5b60ef8c54 to your computer and use it in GitHub Desktop.
Save blitline-dev/90ee714a67fea7c73633cc5b60ef8c54 to your computer and use it in GitHub Desktop.
Single Page PDF Sceenshot
{
"application_id": "YOUR_APP_ID",
"src": "http://www.blitline.com/v3/home",
"src_type": "screen_shot_url",
"src_data": {
"delay": 3000,
"viewport": "1800x4795",
"chrome_render": true
},
"functions": [{
"name": "resize_to_fit",
"params": {
"width": 1240
},
"save": {
"image_identifier": "external_sample_1",
"extension": "pdf"
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment