Solved Color desaturation / flat colors in generated WebP images (possible ICC profile
- Frank van der Meer
-
Onderwerp Auteur
- Offline
Minder
Lees meer
- Berichten: 3
- Ontvangen bedankjes 0
1 dag 22 uren geleden - 1 dag 22 uren geleden #3647
door Frank van der Meer
Color desaturation / flat colors in generated WebP images (possible ICC profile werd gestart door Frank van der Meer
Hi Ruud,
I notice a big visual difference between my original JPEG images and the WebP versions generated by the plugin. The WebP images look noticeably flatter and washed out, especially with rich, saturated colors like autumn foliage (reds, oranges, and yellows).
Could you look into how the plugin handles color conversion during WebP generation? Specifically, this looks like one of the following issues:
1. Stripped ICC color profiles: The original JPEGs contain an embedded sRGB color profile. If the plugin strips the ICC profile during conversion (for example via GD or Imagick without preserving metadata/profiles), browsers render the colors significantly flatter.
2. Aggressive chroma subsampling or low quality defaults: Standard 4:2:0 subsampling or low default compression settings can dull fine color transitions and saturation.
Is there a way to ensure the ICC color profile (sRGB) is preserved during WebP conversion, or can we adjust the WebP encoder parameters (such as quality or chroma subsampling) to retain the original color depth?
Thanks in advance!
If you want to compare: see the photo's in the article which are in webp and compare them to the photo's in the gallery at the bottom, which are in jpeg:
www.frankwandelt.nl/gelderland/landgoedw...lp-rosendael-biljoen
NB: I disabled the plugin for the moment, the difference in quality is to big for now. I can provide you with examples if needed.
Frank
I notice a big visual difference between my original JPEG images and the WebP versions generated by the plugin. The WebP images look noticeably flatter and washed out, especially with rich, saturated colors like autumn foliage (reds, oranges, and yellows).
Could you look into how the plugin handles color conversion during WebP generation? Specifically, this looks like one of the following issues:
1. Stripped ICC color profiles: The original JPEGs contain an embedded sRGB color profile. If the plugin strips the ICC profile during conversion (for example via GD or Imagick without preserving metadata/profiles), browsers render the colors significantly flatter.
2. Aggressive chroma subsampling or low quality defaults: Standard 4:2:0 subsampling or low default compression settings can dull fine color transitions and saturation.
Is there a way to ensure the ICC color profile (sRGB) is preserved during WebP conversion, or can we adjust the WebP encoder parameters (such as quality or chroma subsampling) to retain the original color depth?
Thanks in advance!
If you want to compare: see the photo's in the article which are in webp and compare them to the photo's in the gallery at the bottom, which are in jpeg:
www.frankwandelt.nl/gelderland/landgoedw...lp-rosendael-biljoen
NB: I disabled the plugin for the moment, the difference in quality is to big for now. I can provide you with examples if needed.
Frank
Laatst bewerkt 1 dag 22 uren geleden door Frank van der Meer. Reden: I disabled the plugin for now
Discussie gesloten.
- Ruud van Lent
-
- Afwezig
Minder
Lees meer
- Berichten: 1847
- Ontvangen bedankjes 126
1 dag 2 uren geleden #3648
door Ruud van Lent
Beantwoord door Ruud van Lent in topic Color desaturation / flat colors in generated WebP images (possible ICC profile
Hi Frank,
let's dive into this and see if we can come up with a solution for this.
To make sure we are on the same page and I am working with the correct pictures, can you send me a original image that you use on the site (unconverted)?
You can send that to my email (respond to the notification for this message).
let's dive into this and see if we can come up with a solution for this.
To make sure we are on the same page and I am working with the correct pictures, can you send me a original image that you use on the site (unconverted)?
You can send that to my email (respond to the notification for this message).
Discussie gesloten.
- Ruud van Lent
-
- Afwezig
Minder
Lees meer
- Berichten: 1847
- Ontvangen bedankjes 126
1 uur 7 minuten geleden #3659
door Ruud van Lent
Beantwoord door Ruud van Lent in topic Color desaturation / flat colors in generated WebP images (possible ICC profile
This resulted in the following confirmed working change which will be in the ext release:
Wide-gamut photos keep their colours.
Cached images (WebP, JPEG, PNG) lost the colour profile of the original, so photos saved in Display P3, Adobe RGB or Rec. 2020 looked flat and washed out, mostly in saturated reds, oranges and yellows. The profile is now added to the cached images (new option Preserve Colour Profile in the Advanced tab, on by default). sRGB images stay unchanged. Not applied to AVIF images.
Wide-gamut photos keep their colours.
Cached images (WebP, JPEG, PNG) lost the colour profile of the original, so photos saved in Display P3, Adobe RGB or Rec. 2020 looked flat and washed out, mostly in saturated reds, oranges and yellows. The profile is now added to the cached images (new option Preserve Colour Profile in the Advanced tab, on by default). sRGB images stay unchanged. Not applied to AVIF images.
Discussie gesloten.