[wp-trac] [WordPress Trac] #60291: Support Lossless WebP in WP_Image_Editor_GD

WordPress Trac noreply at wordpress.org
Tue Feb 6 16:47:57 UTC 2024


#60291: Support Lossless WebP in WP_Image_Editor_GD
-------------------------------------------------+-------------------------
 Reporter:  adamsilverstein                      |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing-info needs-  |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 **Testing Instructions**

 * test on a server with PHP 8.1 with GD enabled (and no Imagick)
 * verify the `IMG_WEBP_LOSSLESS` constant is set
 * Try uploading a lossless WebP image
 * verify that generated images (eg. thumnail, medium, large) are also WebP
 lossless images

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


More information about the wp-trac mailing list