[wp-trac] [WordPress Trac] #36477: Responsive images (srcset) can include images larger than the full size

WordPress Trac noreply at wordpress.org
Wed Jun 5 21:37:52 UTC 2024


#36477: Responsive images (srcset) can include images larger than the full size
-------------------------------------------------+-------------------------
 Reporter:  peterdavehello                       |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  4.4.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:
  feedback has-unit-tests                        |  performance
-------------------------------------------------+-------------------------

Comment (by pbearne):

 I have been trying to create tests for
 WP_Image_Editor_Imagick::get_png_color_depth

 But I can't get the code to return 16 or 32 bit they return 8

 4-bit and 8-bit works

 these tests fail tests/phpunit/tests/image/getPngColorDepth.php

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


More information about the wp-trac mailing list