#How to use lossless webp with getImage API
2 messages · Page 1 of 1 (latest)
The knowledge sources do not explicitly state that setting quality to 100 in the getImage API will force WebP to use lossless compression mode. The documentation only mentions that the quality property can be set to a number from 0 to 100, or to a preset like low, mid, high, or max, and that this is interpreted differently between formats. However, it does not clarify whether quality: 100 for WebP results in lossless compression, or if there is a separate way to explicitly request lossless WebP output via getImage or the Astro image components quality property reference getImage reference.