[wp-trac] [WordPress Trac] #56151: Port Dominant Color from performance plugin to core
WordPress Trac
noreply at wordpress.org
Tue Jul 5 18:14:04 UTC 2022
#56151: Port Dominant Color from performance plugin to core
-------------------------------------------------+-------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests has-dev- | Focuses:
note |
-------------------------------------------------+-------------------------
Comment (by joyously):
When I was writing a similar function, I noticed that using a 1 x 1 resize
results in a muddy color that is sort of the average of the colors in the
image, but not any of those colors.
The test cases use a lot of single color images to test with, so you might
not see this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56151#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list