[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
Mon May 19 15:39:59 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:
---------------------------------------------------+---------------------

Comment (by SirLouen):

 I notice a very little difference between the 6.7.2 compression and my
 last patch compression given a minor difference in code.

 For all images chunks were being fully excluded
 {{{
 $this->image->setOption( 'png:exclude-chunk', 'all' );
 }}}

 But for Indexed images, the 6.8 patch was expecting to add `tNRS`.

 The result in size was even greater with my previous commit.

 But now I'm taking in consideration the full exclusion for a little 218
 bytes decrement in the `vivid-green-bird.png` test. Nothing great, but
 something to be respected.

 Maybe one more testing required to get sure that we are outputting the
 same results with the patch, as we had in 6.7.2 before the [59589]
 regression

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


More information about the wp-trac mailing list