[gdal-dev] AVIF write support

Stefan Gofferje lists at home.gofferje.net
Thu Oct 9 00:39:16 PDT 2025


THAT is a good question :D. I don't really remember installing libavif 
manually at all. But as it seems to work fine in the docker version I'll 
just change my pipeline to use docker.

-- 
  (o_   Stefan Gofferje            | SCLT, MCP, CCSA
  //\   Reg'd Linux User #247167   | VCP #2263
  V_/_  https://www.gofferje.net   | https://www.saakeskus.fi

On 10/9/25 08:52, Laurențiu Nicola via gdal-dev wrote:
> It's the first time I see that script, but it looks like it would just pick up the libraries that are installed. Did you install libavif-dev after GDAL?
> 
> https://gist.githubusercontent.com/samapriya/412babdfd3530c2766acb9d603ed1bb9/raw/e70025540623c40bc141f7db440fcb04959d5793/gdal-ubuntu-latest.sh
> 
> Laurentiu
> 
> On Thu, Oct 9, 2025, at 08:36, Stefan Gofferje via gdal-dev wrote:
>> ┌─[sgofferj at enterprise][~]
>> └──▪ apt list *avif*
>> Listing... Done
>> libavif-bin/noble 1.0.4-1ubuntu3 amd64
>> libavif-bin/noble 1.0.4-1ubuntu3 i386
>> libavif-dev/noble,now 1.0.4-1ubuntu3 amd64 [installed,automatic]
>> libavif-dev/noble 1.0.4-1ubuntu3 i386
>> libavif-gdk-pixbuf/noble 1.0.4-1ubuntu3 amd64
>> libavif-gdk-pixbuf/noble 1.0.4-1ubuntu3 i386
>> libavif16/noble,now 1.0.4-1ubuntu3 amd64 [installed,automatic]
>> libavif16/noble 1.0.4-1ubuntu3 i386
>> libavifile-0.7-bin/noble 1:0.7.48~20090503.ds-26build1 amd64
>> libavifile-0.7-common/noble,noble 1:0.7.48~20090503.ds-26build1 all
>> libavifile-0.7-dev/noble 1:0.7.48~20090503.ds-26build1 amd64
>> libavifile-0.7c2/noble 1:0.7.48~20090503.ds-26build1 amd64
>> qt5-avif-image-plugin/noble 0.7.1+dfsg-1build2 amd64
>>
>> Seems AVIF is installed. I also installed gdal through
>> curl -sL "https://url.geocarpentry.org/gdal-ubuntu" | bash
>> i.e. not through the package manager because the Ubuntu 24.04 stock
>> version is a little dated.
>>
>> -- 
>>    (o_   Stefan Gofferje            | SCLT, MCP, CCSA
>>    //\   Reg'd Linux User #247167   | VCP #2263
>>    V_/_  https://www.gofferje.net   | https://www.saakeskus.fi
>>
>> On 10/7/25 14:34, Andrew C Aitchison wrote:
>>> On Tue, 7 Oct 2025, Stefan Gofferje wrote:
>>>
>>>> ┌─[sgofferj at enterprise][~]
>>>> └──▪ gdalinfo --formats | egrep -i "avif|support"
>>>> Supported Formats: (ro:read-only, rw:read-write, +:write from scratch,
>>>> u:update, v:virtual-I/O s:subdatasets)
>>>>   AVIF_HEIF -raster- (rov): AV1 Image File Format (using libheif) (*.avif)
>>>> ┌─[sgofferj at enterprise][~]
>>>> └──▪ gdalinfo --version
>>>> GDAL 3.11.4 "Eganville", released 2025/09/04
>>>>
>>>> Ubuntu 24.04, installed via gdal install script.
>>>
>>> Do you have any libavif or libheif package installed ?
>>>
>>> apt list libavif* libheif* avif* heif* | grep installed
>>>
>>> WARNING: apt does not have a stable CLI interface. Use with caution in
>>> scripts.
>>>
>>> heif-gdk-pixbuf/plucky,now 1.19.7-1 amd64 [installed]
>>> heif-thumbnailer/plucky,now 1.19.7-1 amd64 [installed]
>>> libavif-dev/plucky,now 1.2.1-1ubuntu1 amd64 [installed,automatic]
>>> libavif16/plucky,now 1.2.1-1ubuntu1 amd64 [installed,automatic]
>>> libheif-dev/plucky,now 1.19.7-1 amd64 [installed,automatic]
>>> libheif-examples/plucky,now 1.19.7-1 amd64 [installed]
>>> libheif-plugin-aomdec/plucky,now 1.19.7-1 i386 [installed,automatic]
>>> libheif-plugin-aomenc/plucky,now 1.19.7-1 amd64 [installed,automatic]
>>> libheif-plugin-aomenc/plucky,now 1.19.7-1 i386 [installed,automatic]
>>> libheif-plugin-dav1d/plucky,now 1.19.7-1 amd64 [installed,automatic]
>>> libheif-plugin-libde265/plucky,now 1.19.7-1 amd64 [installed,automatic]
>>> libheif-plugin-libde265/plucky,now 1.19.7-1 i386 [installed,automatic]
>>> libheif-plugin-x265/plucky,now 1.19.7-1 amd64 [installed,automatic]
>>> libheif1/plucky,now 1.19.7-1 amd64 [installed]
>>> libheif1/plucky,now 1.19.7-1 i386 [installed,automatic]
>>>
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list