All Projects → kevva → Screenshot Stream

kevva / Screenshot Stream

Licence: mit
Capture screenshot of a website and return it as a stream

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Screenshot Stream

1click Webpage Screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 406 (+78.07%)
Mutual labels:  screenshot, capture, webpage
1click-webpage-screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 432 (+89.47%)
Mutual labels:  screenshot, webpage, capture
Menyoki
Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️
Stars: ✭ 255 (+11.84%)
Mutual labels:  screenshot, capture
Browsershot
Convert HTML to an image, PDF or string
Stars: ✭ 3,526 (+1446.49%)
Mutual labels:  screenshot, phantomjs
X11 Recorder
xrec helps you capture any area of your screen either as a screenshot or record a gif file.
Stars: ✭ 17 (-92.54%)
Mutual labels:  screenshot, capture
urlbox-screenshots-node
Capture website thumbnails using the urlbox.io screenshot as a service API in node
Stars: ✭ 14 (-93.86%)
Mutual labels:  screenshot, webpage
snapcrawl
Crawl a website and take screenshots
Stars: ✭ 37 (-83.77%)
Mutual labels:  screenshot, capture
Quickshot
Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.
Stars: ✭ 663 (+190.79%)
Mutual labels:  screenshot, capture
siteshooter
📷 Automate full website screenshots and PDF generation with multiple viewport support.
Stars: ✭ 63 (-72.37%)
Mutual labels:  screenshot, phantomjs
Gastly
👻 Create screenshots or previews of web pages
Stars: ✭ 89 (-60.96%)
Mutual labels:  screenshot, phantomjs
Imgursniper
📷 A quick and easy Image, Screenshot and Screen recording sharing tool
Stars: ✭ 69 (-69.74%)
Mutual labels:  screenshot, capture
Capture Frame
Capture video screenshot from a `<video>` tag (at the current time)
Stars: ✭ 109 (-52.19%)
Mutual labels:  screenshot, capture
img-cli
An interactive Command-Line Interface Build in NodeJS for downloading a single or multiple images to disk from URL
Stars: ✭ 15 (-93.42%)
Mutual labels:  webpage, phantomjs
pageshot
Pageshot as a service.
Stars: ✭ 45 (-80.26%)
Mutual labels:  screenshot, webpage
KeyPlexer
Capstone: Keylogger Trojan
Stars: ✭ 32 (-85.96%)
Mutual labels:  screenshot, capture
Argus Eyes
A lightweight commandline tool for visual regression testing of UI components.
Stars: ✭ 158 (-30.7%)
Mutual labels:  screenshot, phantomjs
screenshot.py
Taking a screenshot of a webpage.
Stars: ✭ 49 (-78.51%)
Mutual labels:  screenshot, phantomjs
video-snapshot
Get snapshots from a video file in the browser 🎥 🌅
Stars: ✭ 63 (-72.37%)
Mutual labels:  screenshot, capture
Mac2imgur
⬆ A simple Mac app designed to make uploading images and screenshots to Imgur quick and effortless.
Stars: ✭ 914 (+300.88%)
Mutual labels:  screenshot, capture
Screenshots
A screenshot plugin for electron
Stars: ✭ 130 (-42.98%)
Mutual labels:  screenshot, capture

screenshot-stream Build Status

Capture screenshot of a website and return it as a stream

Install

$ npm install --save screenshot-stream

Usage

const fs = require('fs');
const screenshot = require('screenshot-stream');

const stream = screenshot('http://google.com', '1024x768', {crop: true});

stream.pipe(fs.createWriteStream('google.com-1024x768.png'));

API

screenshot(url, size, [options])

url

Type: string

Add page to capture.

size

Type: string

Set viewport size.

options

Type: Object

Define options to be used.

crop

Type: Boolean
Default: false

Crop to the set height.

delay

Type: number (seconds)
Default: 0

Delay capturing the screenshot. Useful when the site does things after load that you want to capture.

timeout

Type: number (seconds)
Default: 60

Number of seconds after which PhantomJS aborts the request.

selector

Type: string

Capture a specific DOM element.

css

Type: string

Apply custom CSS to the webpage. Specify some CSS or the path to a CSS file.

script

Type: string

Apply custom JavaScript to the webpage. Specify some JavaScript or the path to a file.

hide

Type: Array

Hide an array of DOM elements.

headers

Type: Object
Default: {}

Set custom headers.

cookies

Type: Array or Object

A string with the same format as a browser cookie or an object of what phantomjs.addCookie accepts.

username

Type: string

Username for authenticating with HTTP auth.

password

Type: string

Password for authenticating with HTTP auth.

format

Type: string
Default: png

Set format to render the image as. Supported formats are png and jpg.

scale

Type: number
Default: 1

Scale webpage n times.

userAgent

Type: string

Set a custom user agent.

transparent

Type: Boolean
Default: false

Set background color to transparent instead of white if no background is set.

.on('error', callback)

Type: Function

PhantomJS errors.

.on('warning', callback)

Type: Function

Warnings with for example page errors.

CLI

See the pageres CLI.

License

MIT © Kevin Mårtensson

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].