Skip to content

WebP support, refs #209 - #210

Merged
simonw merged 1 commit into
mainfrom
webp
Sep 13, 2026
Merged

simonw merged 1 commit into
mainfrom
webp

Conversation

@simonw

@simonw simonw commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

Built this with GPT-5 Astra (Ultra) in Codex: https://gist.github.com/simonw/7b579000f50a0bce4e97bd7e64fd1024


📚 Documentation preview 📚: https://shot-scraper--210.org.readthedocs.build/en/210/

@simonw simonw linked an issue Sep 13, 2026 that may be closed by this pull request
@simonw

simonw commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner Author

It's good, this file is only 28KB:

uv run shot-scraper https://simonwillison.net/ -o simon.webp \
  --width 400 --height 600 --omit-background --quality 80
simon

@simonw

simonw commented Sep 13, 2026

Copy link
Copy Markdown
Owner Author

Here the PNG is 121KB:

screenshot

And the WebP is 45KB:

screenshot

@simonw
simonw merged commit d457df5 into main Sep 13, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support saving screenshots in WebP

1 participant