כתבה
Simon Willison ·
shot-scraper 1.12
תקציר מקורי באנגלית<p><strong>Release:</strong> <a href="https://github.com/simonw/shot-scraper/releases/tag/1.12">shot-scraper 1.12</a></p> <p>I've added WebP support to my <a href="https://shot-scraper.datasette.io/">shot-scraper</a> screenshot automation tool. You can now take a WebP screenshot of a web page like this:</p> <pre><code>shot-scraper https://simonwillison.net -o screenshot.webp --quality 80 </code></pre> <p>The <code>--quality</code> option sets the quality - without that option the WebP file will be lossless.</p> <p>In my experience WebP screenshots are almost always significantly smaller in file size than their JPEG or PNG equivalents. See <a href="https://github.com/simonw/shot-scraper/pull/210">the PR</a> for some examples.</p> <p>I shipped this feature so I could use it to generate the s
קרא במקור המקורי
simonwillison.net
פתח כתבה מקורית