Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 752 Bytes

imagegrab.md

File metadata and controls

32 lines (20 loc) · 752 Bytes

Imagegrab

Imageedit Index / Imageedit / Imagegrab

Auto-generated documentation for imageedit.imagegrab module.

grabWebpage

Show source in imagegrab.py:15

Take a screenshot of a webpage

Arguments


  • url str - The url of the webpage in question
  • resolution (int,int)), optional - Set the page resolution
  • evalJs string - Javascript to run on the page

Returns


  • PIL.Image.Image - A PIL Image

Signature

def grabWebpage(url: str, resolution: tuple[int, int] = (800, 600), evalJs=None): ...