-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Closed
Labels
Image (next/image)Related to Next.js Image Optimization.Related to Next.js Image Optimization.
Description
Describe the feature you'd like to request
Some images have poor quality from lossy compression when converting to webp or avif formats, even when quality={100}
.
In particular, gradients suffer from Color Banding.
Examples:
Describe the solution you'd like
This can be resolved with a new prop, lossless={true}
, that can be used to enable lossless compression.
Its supported by many tools already such as:
Describe alternatives you've considered
An alternative is to use q={100}
to indicate lossless which seems to be how cloudinary does it.
This would be much easier to implement than adding a new prop, but might be a breaking change.
skllcrn, Agreon, Brooooooklyn, notrab, theoludwig and 9 moretrieu-hphuc96trieu-hphuc96
Metadata
Metadata
Assignees
Labels
Image (next/image)Related to Next.js Image Optimization.Related to Next.js Image Optimization.