mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 15:26:12 +00:00
WebP Options has a Compression menu (Lossless, Lossy) and a Quality slider from 0 to 100 that is enabled for Lossy. document.export, document.serialize and Export for Screens take lossless: false with quality (default 90) and write a VP8 file, with an ALPH chunk that keeps the alpha exactly when some pixels are not opaque. Lossless stays the default. A WebP quality above 100, or one that is not a whole number, is refused with an error. The encoder is the one craft-image-codecs already provides; no dependency changes. The note that lossy WebP isn't available, its catalog rows and the format text that described it are removed.