diff options
author | Adam Silverstein <adamsilverstein@git.wordpress.org> | 2025-05-22 21:38:22 +0000 |
---|---|---|
committer | Adam Silverstein <adamsilverstein@git.wordpress.org> | 2025-05-22 21:38:22 +0000 |
commit | 97ed38471b8cc78019417d92efa28e3e1b478f0c (patch) | |
tree | 00810db9acb991cf85c2594ca4a5f2948a07ba89 /src/wp-includes/rest-api/fields/class-wp-rest-post-meta-fields.php | |
parent | 8c011572459ef6353182f444f86adf244833f902 (diff) | |
download | wordpress-trunk.tar.gz wordpress-trunk.zip |
Add additional logic to correctly identify indexed PNG images so output PNGs correctly match the uploaded image depth.
Fix a regression introduced in WordPress 6.8 [59589] where uploaded Truecolor PNG images (meaning > 8 bit) were mis-identified as indexed (8 bit) images, causing output images to be indexed instead of Truecolor resulting in a noticeable visual degradation.
Props elvismdev, wildworks, SirLouen, siliconforks, joemcgill, iamshashank, nosilver4u.
Fixes #63448.
git-svn-id: https://develop.svn.wordpress.org/trunk@60246 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/wp-includes/rest-api/fields/class-wp-rest-post-meta-fields.php')
0 files changed, 0 insertions, 0 deletions