darktable-org / darktable

darktable is an open source photography workflow application and raw developer
https://www.darktable.org
GNU General Public License v3.0
9.13k stars 1.11k forks source link

"export": no avif #16847

Closed vitaly-zdanevich closed 1 month ago

vitaly-zdanevich commented 1 month ago

In file format dropdown I see JPEG, PNG, WEBP, TIFF.

Darktable 4.6.0

Gentoo Linux.

image

kmilos commented 1 month ago

Please fill out the information in the new issue template as requested, it's not there for fun.

This is most likely down to the way dt was built. Since you gave no information on how/where you got the binaries from, can't really say anything further, except to check the output of

$ darktable --version
this is darktable 4.6.1
Copyright (C) 2012-2024 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> ENABLED
  Lua                    -> ENABLED  - API version 9.2.0
  Colord                 -> DISABLED
  gPhoto2                -> DISABLED
  GMIC                   -> ENABLED  - Compressed LUTs are supported
  GraphicsMagick         -> ENABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> ENABLED
  OpenJPEG               -> ENABLED
  OpenEXR                -> ENABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.
ralfbrown commented 1 month ago

As @kmilos indicated, AVIF support is an optional feature, and requires the appropriate development libraries to be available at compile-time, i.e. even if you build darktable yourself and have the run-time libraries installed, the compilation will skip AVIF if the corresponding -dev/-devel package is not installed on the build machine.

vitaly-zdanevich commented 1 month ago
$ darktable --version
darktable 4.6.0
Copyright (C) 2012-2023 Johannes Hanika and other contributors.

Compile options:
  Bit depth              -> 64 bit
  Debug                  -> DISABLED
  SSE2 optimizations     -> ENABLED
  OpenMP                 -> ENABLED
  OpenCL                 -> DISABLED
  Lua                    -> ENABLED  - API version 9.2.0
  Colord                 -> DISABLED
  gPhoto2                -> DISABLED
  GMIC                   -> DISABLED - Compressed LUTs are NOT supported
  GraphicsMagick         -> DISABLED
  ImageMagick            -> DISABLED
  libavif                -> ENABLED
  libheif                -> ENABLED
  libjxl                 -> DISABLED
  OpenJPEG               -> DISABLED
  OpenEXR                -> DISABLED
  WebP                   -> ENABLED

See https://www.darktable.org/resources/ for detailed documentation.
See https://github.com/darktable-org/darktable/issues/new/choose to report bugs.

Official install on Gentoo Linux with avif USE flag.

kmilos commented 1 month ago

I think you really need 4.6.1 w/ libavif >= 0.9.3

Official install on Gentoo Linux

I also suggest contacting your distro maintainers, packaging is out of scope for the dt project. You might also want to reach out to other Gentoo users through their support channels or via https://discuss.pixls.us/c/software/darktable/19

victoryforce commented 1 month ago

A too old version of libavif cannot be the cause, as it is obvious that at the time of building this version of darktable, there was already a sufficient version of libavif in Gentoo.

But the fact is that you raise an issue about the lack of avif support not for exporting to a file, but for the target storage "Wikimedia Commons", which is obviously implemented by some third-party Lua script. You need to find a way to ask a question to the author of this script, darktable has nothing to do with it.

Consequently, I'm going to close this issue.