Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AVIF in Gimp [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Mon Mar 11, 2024 12:35 pm    Post subject: AVIF in Gimp [Solved] Reply with quote

Hi

A bit confused.

Wikipedia says Gimp supports AVIF since 2020. https://en.wikipedia.org/wiki/AVIF

Gentoo does not list Gimp as using AVIF flag. https://packages.gentoo.org/useflags/avif

Current version of Gimp installed (2.10.36) does not support it.

What am I missing?

(Edit)
Am asking after adding avif to make.conf and doing update, which installed required libraries and updated some software.

Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram


Last edited by iandoug on Mon Mar 11, 2024 7:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
user
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 211

PostPosted: Mon Mar 11, 2024 6:43 pm    Post subject: Reply with quote

gimp use heif library for AVIF support.
Code:
# cat gimp-2.10.36/configure
...
if test "x$have_libheif" = xyes; then   
...
  can_import_avif=`$PKG_CONFIG --variable=builtin_avif_decoder libheif`
  can_export_avif=`$PKG_CONFIG --variable=builtin_avif_encoder libheif`
  if test "x$can_import_avif" = xyes; then
    MIME_TYPES="$MIME_TYPES;image/avif"
  fi
...
fi
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Mon Mar 11, 2024 7:36 pm    Post subject: Reply with quote

Thanks, working.

Though Ian be wondering why so many packages still want 32bit support ...
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
vitaly-zdanevich
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2019
Posts: 106
Location: Belarus

PostPosted: Thu Oct 17, 2024 6:24 am    Post subject: Reply with quote

USE heif is enabled on my Gimp - but still I cannot export to avif:

Quote:
The given filename does not have any known file extension. Please enter a known file extension or select a file format from the file format list.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum