cr3 and heif support

Thank you everybody for the info

I’m happy to report that today I’ve developed my first HEIF/HEIC image (shot with an iPhone) with darktable 4.0.1.

Worked well for me.

3 Likes

Good morning: I have dt 4.2.1 on ubuntu 22.04. How did you get it to recognize the canon r6 mii heif/heic files for import?

Depends on how it was built and where you got it from - dt 4.2.1 requires libheif version 1.13.0 or later, which is only available on Ubuntu 22.10 AFAICT (or some other way of installation).

You can check the output of darktable --version, here’s mine on Windows that shows it is enabled:

this is darktable 4.2.1
copyright (c) 2009-2023 johannes hanika
https://github.com/darktable-org/darktable/issues/new/choose

compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support enabled, API version 9.0.0
  Colord support disabled
  gPhoto2 support enabled
  GraphicsMagick support enabled
  ImageMagick support disabled
  libavif support enabled
  libheif support enabled
  libjxl support enabled
  OpenJPEG support enabled
  OpenEXR support enabled
  WebP support enabled

And, good morning and welcome!

I’m in the same boat.

I have dt 4.2.1 working on opensuse leap 15.4 from OBS but it does NOT support cr3 or heif,

I’ll need to compile it myself.

Any instructions for opensuse leap 15.4? I only see for ubuntu.

Thanks

the opensuse version for 15.4 in graphics:darktable/darktable supports heif and cr3 according to the cmake output.

I wouldn’t bet on it - that CMake output is a bit strange looking to me, and in any case I don’t see imageio_heif.c being compiled… And, indeed, it shouldn’t be, as 15.4 also ships older libheif 1.12.0 which is not suitable for dt 4.2.1.

No it doesn’t. That’s what I have and:

$ darktable --version
this is darktable 4.2.1
copyright (c) 2009-2023 johannes hanika
https://github.com/darktable-org/darktable/issues/new/choose

compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support enabled, API version 9.0.0
  Colord support enabled
  gPhoto2 support enabled
  GraphicsMagick support disabled
  ImageMagick support disabled
  libavif support disabled
  libheif support disabled         <<<<<<<<<<<
  libjxl support disabled
  OpenJPEG support enabled
  OpenEXR support enabled
  WebP support enabled

So I want to compile it myself but I’d like to know what are all the dependencies.

Thanks

The libraries shipped with leap are too old.

simple solution: upgrade to openSUSE Tumbleweed.

Sorry but no can do. Too bleeding edge for me.

You can use the flatpak from flathub or wait for leap to provide the necessary versions of the libraries.

Are you saying that dt can’t be compiled on leap 15.4?

Thanks

You’re already running it on leap 15.4, no?

Or, as final option, build those yourself.

Well yes, but then you’re sort of in dependency hell.

1 Like

Thank you! I’m running the flatpak version: flatpak run org.darktable.Darktable --version unfortunately shows libheif support disabled. So, I think that means I need to self compile (unless you know of any other version out there for ubuntu that does support it).

Have you updated lately? I thought that got fixed last week.

Flathub—An app store and build service for Linux feb 15, 2023 is what I have and seem like latest?

That’s what I’d like to do. In RT on rawpedia, it shows all the dependencies: Linux - RawPedia

Thanks