返回全部动态
shot-scraper 1.12 新增 WebP 截图支持
原标题:shot-scraper 1.12
AI 摘要
Simon Willison 为其截图自动化工具 shot-scraper 增加了 WebP 格式支持,用户可通过 --quality 参数控制质量,不指定时输出无损 WebP。作者称 WebP 截图文件体积通常明显小于 JPEG 或 PNG,该功能是为其新的 commit-rewriter 工具生成截图而开发。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
13th September 2026 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
发布时间:2026-09-14 07:58
抓取时间:2026-09-14 08:42
来源机构:Simon Willison