[wp-trac] [WordPress Trac] #54648: Improve filter to enable setting quality for each subsize image

WordPress Trac noreply at wordpress.org
Sat Jul 2 12:34:26 UTC 2022


#54648: Improve filter to enable setting quality for each subsize image
----------------------------------------+------------------------------
 Reporter:  Mte90                       |       Owner:  adamsilverstein
     Type:  enhancement                 |      Status:  accepted
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Media                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+------------------------------

Comment (by birgire):

 Thanks for links @codekraft

 Yes I agree, the main reason for my comment was to point out a possible
 limitation on the current quality filter (because of the line that checks
 if the quality has been set) that might not be obvious from the docs when
 testing it out.

 Probably another filter would be needed here to avoid the current
 limitations and allow it to target different intermediate sizes and
 formats. Also to avoid changing current behavior of the existing filter.

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


More information about the wp-trac mailing list