[wp-trac] [WordPress Trac] #58435: Media library strips color profiles => significant image color problems

WordPress Trac noreply at wordpress.org
Wed Jun 14 14:03:00 UTC 2023


#58435: Media library strips color profiles => significant image color problems
-------------------------+------------------------------
 Reporter:  gregbenz     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by gregbenz):

 @ironprogrammer I'd sum it up this way:

 (1) Stripping a wide gamut profile causes all RGB numbers to be
 interpreted incorrect, resulting in substantial color error.

 (2) sRGB is based on display technology from over 30 years ago. Most
 modern displays support P3 or other wider than sRGB gamuts. The desire to
 share images supporting them will continue to increase.

 (3) Browser support is already widespread and it is generally safe to
 share such images, unless reprocessing strips the profile (as is the case
 here).

 (4) There is no user warning or rejection of wide gamut files, so it is
 easy to make the mistake of trying to use an image which will be harmed by
 the profile being stripped. And many people would probably not be aware of
 workarounds using ImageMagick.

 I would hope this is a fairly simple enhancement for CICP/NCLX, as all
 that is needed is to not remove the metadata. I recognize that converting
 an ICC profile to such a format (or stripping it down to just an ICC
 profile with a CICP tag) would not be simple - but keeping any ICC profile
 (as is) would also be ideal and should be similarly straightforward to
 preserve without changes. If file size is a concern, the content creator
 can always strip the profile or ensure they use a format supporting
 CICP/NCLX rather than embedded a full ~1k profile.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58435#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list