[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
Thu Jul 15 00:18:32 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-testing has-patch  |     Focuses:
-------------------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:4 mikeschroder]:

 Thanks for the detailed explanation!

 > It would be even better if we could detect lossless images more
 accurately (there are still VP8L images located within files that begin
 with VP8X sections, which core is currently not detecting)

 Yes, `wp_get_webp_info()` needs fixing/update so it can detect the rest of
 the info when the type is `VP8X`. Can see some js code for that, nothing
 in PHP though. See #53663.

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


More information about the wp-trac mailing list