[wp-trac] [WordPress Trac] #55443: Create WebP sub-sizes and use for output

WordPress Trac noreply at wordpress.org
Tue Jun 21 22:43:56 UTC 2022


#55443: Create WebP sub-sizes and use for output
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing needs-dev-note needs-docs needs-user-  |  performance
  docs                                           |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 @studiolxv to alter the WebP output quality you can use the
 `wp_editor_set_quality` filter.

 > It would be great if developers could adjust the quality per $subsize.

 This is being proposed in https://core.trac.wordpress.org/ticket/54648 -
 the current filter doesn't really work per-size the way it is currently
 called, we ether need to call it again or add an additional filter.

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


More information about the wp-trac mailing list