[@astrojs/image] the Squoosh service defaults to too high a quality setting, creating larger built files #4905
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
pkg: image
Related to the `@astrojs/image` package (scope)
What version of
astro
are you using?1.3.1
Are you using an SSR adapter? If so, which one?
none
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
When using the new
Squoosh
image service, if aquality
isn't passed to the image component it's being default to 100. Interestingly enough this leads to files getting larger when they're built 🙃The defaults are already tied into the Squoosh implementation, we should just need to remove our
quality = 100
defaultLink to Minimal Reproducible Example
https://discord.com/channels/830184174198718474/1024553095771979860
Participation
The text was updated successfully, but these errors were encountered: