[wp-trac] [WordPress Trac] #58155: Add filter to allow large image scaling of PNGs

WordPress Trac noreply at wordpress.org
Tue Apr 18 21:01:22 UTC 2023


#58155: Add filter to allow large image scaling of PNGs
-------------------------+-----------------------------
 Reporter:  pelstudio    |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Upload       |    Version:  6.2
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Due to Issue #48736,large image downscaling of PNGs is disabled because
 sometimes the new images are larger in filesize than the originals
 (particularly with PNG-8).

 This is reasonable but should be filterable with the current state as the
 default.

 There are use cases where users rarely, if ever, upload PNG-8s but do
 upload massive PNG-24s that would benefit from downscaling. Devs should be
 able to turn this feature on for PNGs as needed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58155>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list