### ImageMagick version

7.1.1-32

### Operating system

Linux

### Operating system, version and so on

Ubuntu 24.04 LTS x86_64

### Description

```
$ magick -version
Version: ImageMagick 7.1.1-32 Q16-HDRI x86_64 22207 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): fontconfig freetype heic png x xml zlib
Compiler: gcc (11.4)
```

The screenshot below is comparison of original `hdr.avif`(left) and `out.avif`(right).
As you can see, the ouput file `out.avif` is washed out, which is not desired.

![329444577-d183aa4d-d9c0-4d89-8f0b-1a59552f8bc0](https://github.com/ImageMagick/ImageMagick/assets/3142886/b9bf9f23-76ba-49a5-b41e-69016cdcbbbc)

### Steps to Reproduce

1. Save [https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp10.avif](https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp10.avif) as `hdr.avif`
2. Execute command: `magick hdr.avif -resize 50% out.avif`
3. Preview the original file and output file in Chrome `Version 124.0.6367.158 (Official Build) (64-bit)`(Any version above v85 should also produce the same result). 



### Images

[avif.zip](https://github.com/ImageMagick/ImageMagick/files/15282916/avif.zip)
(This .zip file contains original `hdr.avif` and output `out.avif`)
Output .avif image is washed out
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Output .avif image is washed out
Issue date:

--- start body ---
### ImageMagick version

7.1.1-32

### Operating system

Linux

### Operating system, version and so on

Ubuntu 24.04 LTS x86_64

### Description

```
$ magick -version
Version: ImageMagick 7.1.1-32 Q16-HDRI x86_64 22207 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): fontconfig freetype heic png x xml zlib
Compiler: gcc (11.4)
```

The screenshot below is comparison of original `hdr.avif`(left) and `out.avif`(right).
As you can see, the ouput file `out.avif` is washed out, which is not desired.

![329444577-d183aa4d-d9c0-4d89-8f0b-1a59552f8bc0](https://github.com/ImageMagick/ImageMagick/assets/3142886/b9bf9f23-76ba-49a5-b41e-69016cdcbbbc)

### Steps to Reproduce

1. Save [https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp10.avif](https://raw.githubusercontent.com/AOMediaCodec/av1-avif/master/testFiles/Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp10.avif) as `hdr.avif`
2. Execute command: `magick hdr.avif -resize 50% out.avif`
3. Preview the original file and output file in Chrome `Version 124.0.6367.158 (Official Build) (64-bit)`(Any version above v85 should also produce the same result). 



### Images

[avif.zip](https://github.com/ImageMagick/ImageMagick/files/15282916/avif.zip)
(This .zip file contains original `hdr.avif` and output `out.avif`)
--- end body ---
