You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks again for making AVIF support happen in Python. Much appreciated by the Django community.
It'd be great to take this a step further and to widen the color gamut. If I understand it correctly, the current implementation is limited to RGB 8-bit.
Meanwhile, most codecs support color spaces like BT2020 with both 10- and 12-bit depth. And mobile devices and modern laptops can even display higher bitrate images via their browsers.
I am aware that this is much to ask for, and my limited skills don't allow me to contribute this myself. But maybe we can get the ball rolling by mapping out the mountain of work this probably is.
When you say 'support', do you mean read and convert to RGB 8-bit? From my limited search for BT2020 AVIF images, they seem to render ok. If you have an image that demonstrates otherwise, please let me know.
If you mean read and keep the 10 or 12 bit depth in the images for later use, then you're talking about #1888
But this issue was foremost about maintaining 10- or 12-bit color depth, duplicate to #1888
Somehow I didn't find the issue when doing my research, sorry.
Activity
radarhere commentedon Mar 29, 2026
When you say 'support', do you mean read and convert to RGB 8-bit? From my limited search for BT2020 AVIF images, they seem to render ok. If you have an image that demonstrates otherwise, please let me know.
If you mean read and keep the 10 or 12 bit depth in the images for later use, then you're talking about #1888
codingjoe commentedon Mar 29, 2026
There are issues with embedded ICC profiles, see codingjoe/django-pictures#264
But this issue was foremost about maintaining 10- or 12-bit color depth, duplicate to #1888
Somehow I didn't find the issue when doing my research, sorry.