[wp-trac] [WordPress Trac] #62285: HDR AVIF is corrupt in the media library (encoded as SDR)

WordPress Trac noreply at wordpress.org
Sat Nov 30 16:56:26 UTC 2024


#62285: HDR AVIF is corrupt in the media library (encoded as SDR)
--------------------------+------------------------------
 Reporter:  gregbenz      |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.8
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch has-unit-tests =>


Comment:

 > I noticed we don't have any unit tests for getImageDepth so it would be
 nice to add some of those here as well.

 I added a test that validates the max depth is set correctly, running now
 in CI.

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


More information about the wp-trac mailing list