maaaaz / webscreenshot

A simple script to screenshot a list of websites
GNU Lesser General Public License v3.0
653 stars 162 forks source link

Crop/resize image? #33

Closed clubh closed 4 years ago

clubh commented 4 years ago

The screenshots are always the full height of the webpage.

/usr/bin/env python3 webscreenshot.py --no-xserver -f jpg -q 80 --window-size 1600,768 blogger.com I was wondering if it is possible to define the viewport?

maaaaz commented 4 years ago

Hello, isn't this parameter supposed to do what you want according to the phantomjs documentation ?

maaaaz commented 4 years ago

Same use cases as this PR ?

maaaaz commented 4 years ago

Fixed in v2.8 and detailed here