[wp-trac] [WordPress Trac] #62285: HDR AVIF is corrupt in the media library (encoded as SDR)
WordPress Trac
noreply at wordpress.org
Tue Jan 7 21:04:52 UTC 2025
#62285: HDR AVIF is corrupt in the media library (encoded as SDR)
---------------------------------------------+-----------------------------
Reporter: gregbenz | Owner:
| adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Media | Version: 4.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"59588" 59588]:
{{{
#!CommitTicketReference repository="" revision="59588"
Media: enable high bit depth resized image output with Imagick.
Fix an issue where uploaded HDR images were resized and output as SDR and
thus significantly degraded from the original. When using Imagick, output
images will now match the bit depth of the uploaded image.
Add a new filter ‘image_max_bit_depth’ which developers can use to control
the maximum bit depth for resized images.
Props adamsilverstein, kirasong, gregbenz, apermo.
Fixes #62285.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62285#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list