[wp-trac] [WordPress Trac] #63448: Image quality significantly degrades for resized PNGs with transparency in WordPress 6.8.1

WordPress Trac noreply at wordpress.org
Sat May 17 09:53:14 UTC 2025


#63448: Image quality significantly degrades for resized PNGs with transparency in
WordPress 6.8.1
---------------------------------------------------+---------------------
 Reporter:  elvismdev                              |       Owner:  (none)
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  6.8.2
Component:  Media                                  |     Version:  6.8
 Severity:  critical                               |  Resolution:
 Keywords:  has-patch needs-testing has-test-info  |     Focuses:
---------------------------------------------------+---------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-patch needs-testing has-test-
               info


Comment:

 == Testing Instructions

 I'm going to recap here with full testing instructions to help testers.

 1. Download these 4 images:
 - Color Not-Indexed: https://core.trac.wordpress.org/raw-
 attachment/ticket/63448/vivid-green-bird-sample-original.png
 - Grayscale Not-Indexed: https://core.trac.wordpress.org/raw-
 attachment/ticket/63338/grayscale-test-image.png
 - Color Indexed: https://i.imgur.com/Z0UDHmv.png
 - Grayscale Indexed: https://i.imgur.com/4YYwmuT.png

 2. Take note of the size of each image
 3. Upload them to Media
 4. Check if they show correctly or if they are blurred
 5. Check if the size of the images is bigger or smaller than the original.

 Add [https://github.com/WordPress/wordpress-develop/pull/8813.diff this
 patch] and check if:
 1. The images are not getting blurred after uploading
 2. The sizes are always lower after uploading.

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


More information about the wp-trac mailing list