[wp-trac] [WordPress Trac] #35725: Add mime-type for Webp

WordPress Trac noreply at wordpress.org
Fri Nov 13 19:57:48 UTC 2020


#35725: Add mime-type for Webp
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:
  has-unit-tests needs-refresh                   |
-------------------------------------------------+-------------------------

Comment (by blobfolio):

 Replying to [comment:45 svenwordpress]:
 > Sorry, but meanwhile I get angry!!!!!!

 Why are you angry? You can already do all of this with plugins. WordPress
 is used by hundreds of millions of people in hundreds of millions of
 different ways. Features like this are great if they can be implemented as
 *optional enhancements*, but there are very real consequences when
 decisions are made to abruptly force changes in behavior.

 Replying to [comment:45 svenwordpress]:
 > Using webp as default image format

 It should be noted that WebP is primarily *lossy* in nature. It isn't a
 magic bullet that can be used to represent all images all the time. It is
 great sometimes, and terrible others. It should not serve as a default;
 the format the user actually uploaded should serve as its own default. :)

 Under the hood, WebP supports only RGBA and greyscale color tables,
 leading to immediate distortion of images saved with different color
 profiles, gamma corrections, etc. Beyond that, it struggles to cleanly
 represent hard color breaks of the variety seen in web comics, designer
 logos, (artful) product photography, etc; it will add blocky artifacts
 around the edges of such images.

 Don't get me wrong. I love WebP and use it on probably 90% of my projects.
 But it requires intention. The aesthetic losses aren't always worth the
 arbitrary pagespeed score boost. Haha.

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


More information about the wp-trac mailing list