Support AV1 Image File Format (AVIF) for images/pictures #11031

Closed
opened 2025-12-29 21:39:22 +01:00 by adam · 3 comments
Owner

Originally created by @ypid on GitHub (Apr 15, 2025).

NetBox version

v4.2.4

Feature type

New functionality

Proposed functionality

v11.2.1 of Pillow now supports the AV1 Image File Format (AVIF) image file format. Please support to upload AVIF images.

Use case

I had to reencode multiple pictures in the past that I found online to an image format that NetBox supports for me to add them as image attachment.

Database changes

No.

External dependencies

Pillow which is already used by NetBox.

Originally created by @ypid on GitHub (Apr 15, 2025). ### NetBox version v4.2.4 ### Feature type New functionality ### Proposed functionality [v11.2.1 of Pillow](https://github.com/python-pillow/Pillow/releases/tag/11.2.1) now supports the [AV1 Image File Format (AVIF) image file format](https://en.wikipedia.org/wiki/AVIF). Please support to upload AVIF images. ### Use case I had to reencode multiple pictures in the past that I found online to an image format that NetBox supports for me to add them as image attachment. ### Database changes No. ### External dependencies Pillow which is already used by NetBox.
adam added the type: feature label 2025-12-29 21:39:22 +01:00
adam closed this issue 2025-12-29 21:39:22 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 15, 2025):

I'm not sure this is a NetBox issue. We've upgraded Pillow to v11.2.1 in the v4.3 beta, however Django appears not to recognize AVIF images. (Also FYI, Firefox won't even let me select AVIF images for upload, but Chrome will.)

@jeremystretch commented on GitHub (Apr 15, 2025): I'm not sure this is a NetBox issue. We've upgraded Pillow to v11.2.1 in the v4.3 beta, however Django appears not to recognize AVIF images. (Also FYI, Firefox won't even let me select AVIF images for upload, but Chrome will.)
Author
Owner

@arthanson commented on GitHub (Apr 15, 2025):

It does not look like Pillow supports AVIF by default, libavif is required - on their release page "The release of Pillow 11.2.0 was halted prematurely, due to hitting PyPI’s project size limit and concern over the size of Pillow wheels containing libavif. The PyPI limit has now been increased and Pillow 11.2.1 has been released instead, without libavif included in the wheels. To avoid confusion, the incomplete 11.2.0 release has been removed from PyPI.". Potentially could add this in the future when Pillow is released with this by default.

@arthanson commented on GitHub (Apr 15, 2025): It does not look like Pillow supports AVIF by default, libavif is required - on their release page "The release of Pillow 11.2.0 was halted prematurely, due to hitting PyPI’s project size limit and concern over the size of Pillow wheels containing libavif. The PyPI limit has now been increased and Pillow 11.2.1 has been released instead, without libavif included in the wheels. To avoid confusion, the incomplete 11.2.0 release has been removed from PyPI.". Potentially could add this in the future when Pillow is released with this by default.
Author
Owner

@arthanson commented on GitHub (Apr 17, 2025):

This is an upstream support issue. It is currently not supported by default in Pillow. Closing it for now.

@arthanson commented on GitHub (Apr 17, 2025): This is an upstream support issue. It is currently not supported by default in Pillow. Closing it for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11031