
SW
Simon Willison's Weblog
· 1 min read
AnalysisSimon Willison's Weblog
shot-scraper 1.12
Release: shot-scraper 1.12
I've added WebP support to my shot-scraper screenshot automation tool. You can now take a WebP screenshot of a web page like this:
shot-scraper https://simonwillison.net -o screenshot.webp --quality 80
The --quality option sets the quality - without that option the WebP file will be lossless.
In my experience WebP screenshots are almost always significantly smaller in file size than their JPEG or PNG equivalents. See the PR for some examples.
I shipped this feature so I could use it to generate the screenshot for my new commit-rewriter tool.
Original source
This story was published by Simon Willison's Weblog. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on simonwillison.net


