[wp-trac] [WordPress Trac] #35725: Add WebP support.

WordPress Trac noreply at wordpress.org
Thu Mar 11 21:25:09 UTC 2021


#35725: Add WebP support.
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.8
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:
  has-unit-tests                                 |
-------------------------------------------------+-------------------------

Comment (by atjn):

 Replying to [comment:75 adamsilverstein]:
 Hmmm. As I understood it, you wanted to replace the original JPEG source
 with a WebP image. That was why i felt it was necessary to remind you of
 the issues with WebP. If your plan is to keep and use the source image for
 normal use, but replace smaller preview files with WebP versions, I don't
 see any problems.

 The reason I mentioned JPEG XL, is if you replace the source with a WebP
 image now, and then release a new version in a year that replaces the
 source with JPEG XL, you will have to make a conversion between two
 different encoding styles twice, which is bad for retaining quality. That
 could be avoided if you design it with JPEG XL in mind from the start.

 I agree with @marylauc, although I'd like to point out that one of the
 extra "features" I alluded to in JPEG is the ability to progressively
 decode the image. You can have an image appear instantly on screen, and
 slowly become higher quality as it is downloaded. This feature is not
 supported in WebP. It is supported in JPEG XL. There are other similar
 issues, which again won't be a problem for preview files, but could be
 very frustrating for end-users if you blindly force it on every image
 uploaded to WordPress.

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


More information about the wp-trac mailing list