All Projects → rytsikau → ee.Screen

rytsikau / ee.Screen

Licence: other
Takes screenshots of web pages for the list of URLs. Various resolutions, multiple formats (JPG, PDF, PNG and TXT)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ee.Screen

wordpress-plugin
Speed up your WordPress website. Optimize your JPEG and PNG images automatically with TinyPNG.
Stars: ✭ 78 (+310.53%)
Mutual labels:  jpg, png, bulk
WPWatcher
Wordpress Watcher is a wrapper for WPScan that manages scans on multiple sites and reports by email and/or syslog. Schedule scans and get notified when vulnerabilities, outdated plugins and other risks are found.
Stars: ✭ 34 (+78.95%)
Mutual labels:  batch, bulk, multiple
Optimise Images
Batch image resizer, optimiser and profiler using ImageMagick convert, OptiPNG, JpegOptim and optional ZopfliPNG, Guetzli and MozJPEG.
Stars: ✭ 64 (+236.84%)
Mutual labels:  jpg, png
Gimage
A PHP library for easy image handling. 🖼
Stars: ✭ 148 (+678.95%)
Mutual labels:  jpg, png
Ccapture.js
A library to capture canvas-based animations at a fixed framerate
Stars: ✭ 2,836 (+14826.32%)
Mutual labels:  jpg, png
Imagemin
[Unmaintained] Minify images seamlessly
Stars: ✭ 4,948 (+25942.11%)
Mutual labels:  jpg, png
Quickshot
Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.
Stars: ✭ 663 (+3389.47%)
Mutual labels:  jpg, png
Imageviewer
HDR, PFM, DDS, KTX, EXR, PNG, JPG, BMP image viewer and manipulator
Stars: ✭ 71 (+273.68%)
Mutual labels:  jpg, png
oculante
A minimalistic crossplatform image viewer written in rust
Stars: ✭ 169 (+789.47%)
Mutual labels:  jpg, png
save-html-as-image
Download the HTML (DOM) to Image (JPG, PNG)
Stars: ✭ 26 (+36.84%)
Mutual labels:  jpg, png
Exifr
📷 The fastest and most versatile JS EXIF reading library.
Stars: ✭ 448 (+2257.89%)
Mutual labels:  jpg, png
dom-to-image-more
Generates an image from a DOM node using HTML5 canvas
Stars: ✭ 231 (+1115.79%)
Mutual labels:  jpg, png
highcharts-export-clientside
Module for Highcharts to exports charts client-side
Stars: ✭ 49 (+157.89%)
Mutual labels:  jpg, png
Image Optimizer
Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
Stars: ✭ 785 (+4031.58%)
Mutual labels:  jpg, png
QuickImageFX
Simplifying image manipulation using GDI, Graphics32, OpenCV or Vampyre Imaging libraries
Stars: ✭ 41 (+115.79%)
Mutual labels:  jpg, png
HEIF-converter
Converter for High Efficiency Image Format(HEIF)
Stars: ✭ 24 (+26.32%)
Mutual labels:  jpg, png
ok-file-formats
Decoders for PNG, JPEG, WAV, and a few other file formats
Stars: ✭ 72 (+278.95%)
Mutual labels:  jpg, png
imei
IMEI - ImageMagick Easy Install
Stars: ✭ 126 (+563.16%)
Mutual labels:  jpg, png
HEIF
Mac OS X: Convert any image to HEIF/HEIC format
Stars: ✭ 58 (+205.26%)
Mutual labels:  jpg, png
3dn-bip
A Python library for Blender addons. Blazingly fast preview loads in Blender. Images of arbitrary size. bpy.utils.previews drop-in replacement.
Stars: ✭ 41 (+115.79%)
Mutual labels:  jpg, png

ee.Screen

ee.Screen allows to take screenshots of web pages according to a list of URLs. The script supports various resolutions and several formats - JPG, PDF, PNG and TXT. Also, headless mode allows to use very high resolutions, such as 5000*5000 pixels. This can be useful, for example, if you need to take a large screenshot from Google Maps.

>> download version 20201108


Requirements

ee.Screen uses NodeJS and Google Chrome Puppeteer. To install NodeJS, visit nodejs.org. To install Puppeteer, after NodeJS is installed, open a Windows Command Prompt and type

npm install --save puppeteer


Quick start

  1. Unpack the downloaded archive
  2. Open urls.txt in a text editor and paste the URLs of the required pages instead of existing samples
  3. Save urls.txt, then run run.bat
  4. See result in \screenshots folder

Usage

The common way to use the script is to run it from the Windows Command Prompt with the path to the URL list file as an argument:

node "c:\path\to\ee.screen.js" "c:\path\to\list\file.txt"


Description of the URL list file

The line has the following format:

url,width*height,output

Quotes are only needed if the field contains a comma. The order of the fields in the line does not matter. For example:

"https://news.sky.com/world",1280*1024,"D:\My files\screenshot01.jpg"
  • The url is the only required parameter, it must start with the prefix http:// or https://

  • To take a screenshot at full page height, replace the height value with the word full. If the resolution field is missed, the script uses the default 1280*full

  • The output field specifies the folder, filename and extension. It can be specified partially, then the missing parts are replaced with default values. In this case, the part of the string to the right of the last slash is interpreted as a filename and/or extension. If the field does not contain slashes, it's fully interpreted as filename and/or extension. The folder and filename supports renaming masks *flatUrl*, *pageTitle*, *width*, *height* and custom datetime that recognizes letters YMDhms (for example, *YYYY-MM-DD hh.mm.ss*). The extension can contain several formats, for example jpg+pdf+png+txt. To take PDF screenshot in landscape orientation, specify the extension as lpdf instead of pdf. If the output field is missing, the script uses the default \screenshots\*flatUrl*.png


More examples

To take PNG screenshot, 1280p width and full page height, save as \screenshots\https_news.sky.com_world.png:

https://news.sky.com/world

To take JPG and PDF screenshots, 1280p width and full page height, save as \20210101\https_news.sky.com_world.jpg and \20210101\https_news.sky.com_world.pdf:

https://news.sky.com/world,"*YYYYMMDD*\.jpg+pdf"

To take PNG screenshot, 1024p width and 768p height, save as D:\My files\new screenshot.png:

https://news.sky.com/world,1024*768,"D:\My files\new screenshot"

Other notes

  • Encoding of TXT screenshots is UTF8
  • If some line of the URL list cannot be processed (due to failed parsing, non-existent url, network error, etc.), it's written to the file not_processed_YYYYMMDDhhmmss.log
  • If the URLs list contains non-latin letters, it must be in Unicode (any type)
  • Screenshots in PDF and TXT formats are always taken at full page height (PDF - paginated in A4 with 100% scale, TXT - in accordance with HTML markup)

Terms of use

  • This software is free for non-commercial use and is provided 'as is' without warranty of any kind, either express or implied
  • The author will not be liable for data loss, damages or any other kind of loss while using or misusing this software
  • The author will not be liable for the misuse of content obtained using this software, including copyrighted, age-restricted, or any other protected content

Developer info

  • JavaScript
  • Visual Studio Code 1.30

Tested configuration

  • Chrome Puppeteer 1.20.0
  • Windows 10 Pro x64 version 1909
  • Node.js 10.16.3 x64

Tags

automated batch bulk jpg list multiple pdf png screenshots snapshots text txt url webpages


About

Takes screenshots of web pages according to a list of URLs. Supports various resolutions and several formats - JPG, PDF, PNG and TXT


[program page] [start page] [author e-mail]

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].