[wp-trac] [WordPress Trac] #58435: Media library strips color profiles => significant image color problems
WordPress Trac
noreply at wordpress.org
Wed May 31 19:40:09 UTC 2023
#58435: Media library strips color profiles => significant image color problems
--------------------------+------------------------------
Reporter: gregbenz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by joemcgill):
Currently, the only profiles that are retained when WP strips metadata
from an image are 'icc', 'icm', 'iptc', 'exif', and 'xmp' (Imagick only).
See: https://github.com/WordPress/WordPress/blob/6.2.2/wp-includes/class-
wp-image-editor-imagick.php#L919-L934
There is a filter that can be used to keep the editor from stripping meta,
`image_strip_meta`, but that will also retain any other unnecessary or
potentially private metadata on each resized image, so use with caution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58435#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list