[wp-trac] [WordPress Trac] #53653: Scaled down WebP images may be with much larger file size than the original

WordPress Trac noreply at wordpress.org
Wed Jul 14 14:20:37 UTC 2021


#53653: Scaled down WebP images may be with much larger file size than the original
---------------------------------------+---------------------
 Reporter:  azaozz                     |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.8
Component:  Media                      |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+---------------------

Comment (by adamsilverstein):

 In [attachment:"53653.diff"]
 * Only use lossless format for WebP output when header detection
 determines image is lossless.

 Fixes previous logic to favor using lossy format as default, only using
 lossless when the image engine supports it and we know the image is
 lossless. Image engines don't support alpha or transparency for webp yet
 as far as I know anyway.

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


More information about the wp-trac mailing list