{"id":51428,"date":"2026-06-21T14:50:38","date_gmt":"2026-06-21T14:50:38","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=51428"},"modified":"2026-06-21T14:50:38","modified_gmt":"2026-06-21T14:50:38","slug":"darktable-released-5-6-0-with-optional-ai-support-heif-export","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/06\/darktable-released-5-6-0-with-optional-ai-support-heif-export\/","title":{"rendered":"Darktable Released 5.6.0 with Optional AI Support &#038; HEIF Export"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-36501\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/darktable-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/darktable-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/darktable-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/darktable-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/darktable-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/12\/darktable-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Darktable, the popular free open-source photography and raw developer application, released new major 5.6.0 version today!<\/p>\n<p>The new version introduced optional AI sub-system, UI\/UX and performance improvements, as well as many fixes and other changes.<\/p>\n<p><!--more--><\/p>\n<p>The <b>AI sub-system is disabled by default<\/b>. If you build Darktable from source, then you need to configure with <code>-DUSE_AI=ON<\/code> option. After that, you may go to AI preferences tab to enable and download AI models.<\/p>\n<div id=\"attachment_51429\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktale-aidownload.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-51429\" class=\"size-large wp-image-51429\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktale-aidownload-700x466.webp\" alt=\"\" width=\"610\" height=\"406\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktale-aidownload-700x466.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktale-aidownload-300x200.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktale-aidownload-768x512.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktale-aidownload.webp 1465w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-51429\" class=\"wp-caption-text\">Darktable AI preferences<\/p><\/div>\n<p>As you see in the screenshot above, you can one click download &amp; install the following free and open source AI models:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/trougnouf\/nind-denoise\" target=\"_blank\" rel=\"noopener\">denoise NIND<\/a> and raw denoise nind, to remove real\u2011world sensor noise from RAW photos with high detail retention using a neural network.<\/li>\n<li><a href=\"https:\/\/github.com\/facebookresearch\/sam2\" target=\"_blank\" rel=\"noopener\">mask sam2.1 hiera small<\/a>, for mask generation (segmentation) on images and videos.<\/li>\n<li><a href=\"https:\/\/github.com\/visual-attention-network\/segnext\" target=\"_blank\" rel=\"noopener\">mask segnext vitb-sax2 hq<\/a>, high\u2011quality mask\u2011generation model.<\/li>\n<li><a href=\"https:\/\/github.com\/dslisleedh\/PLKSR\" target=\"_blank\" rel=\"noopener\">upscale realplksr<\/a>, real\u2011world photo upscaling model designed to handle noise, blur, JPEG\/WebP compression, and other real\u2011image artifacts.<\/li>\n<\/ul>\n<p>It also supports loading local AI models in <code>.dtmodel<\/code> format. And, it has out-of-the-box support for using CPU hardware acceleration for AI inference, while GPU is also supported, though needs manual setup and external ONNX Runtime library in Linux.<\/p>\n<p>After enabled AI feature and downloaded the models, you can then go to darkroom mask manager to trigger either SAM2.1 or SegNext AI model (only one of them can be enabled at the same time). Then, click on an object to generate a precise mask, shift+click to subtract, scroll or Ctrl+scroll to adjust the smoothing or opacity. And, it supports saving the mask as a PNG for external use.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/mask-managerAI.webp\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51430\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/mask-managerAI-700x452.webp\" alt=\"\" width=\"610\" height=\"394\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/mask-managerAI-700x452.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/mask-managerAI-300x194.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/mask-managerAI-768x495.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/mask-managerAI.webp 1465w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>And, go to neural restore module in left side-bar for AI-based raw denoise, denoise, and upscale. Default models are NIND UNet (denoise), RawNIND UtNet2 (raw<br \/>\ndenoise), and RealPLKSR 2x\/4x (super-resolution), and all runs on the ONNX backend. While, additional models are available in the model repository and can be<br \/>\ninstalled manually.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51431\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/ai-denoise.webp\" alt=\"\" width=\"633\" height=\"538\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/ai-denoise.webp 633w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/ai-denoise-300x255.webp 300w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/><\/p>\n<p>Besides the new AI features, this version also introduced <b>new color harmonizer<\/b> module with options to apply anchor hue, pull strength and width, protect neutral colors, and apply a Gaussian filter to smooth harsh transitions.<\/p>\n<p>As well, it added support <strong>exporting to HEIF image format<\/strong>, lossy or lossless in 8\/10\/12 bit color depths with all supported color subsampling options.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-51432\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/color-harmonizer.webp\" alt=\"\" width=\"400\" height=\"332\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/color-harmonizer.webp 400w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/color-harmonizer-300x249.webp 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>Darktable 5.6.0 also features UI\/UX improvements. It now has a <b>welcome dialog<\/b> allowing to set some configuration options at first launch. It now supports rendering and caching 6K or 8K thumbnail or full-screen preview images in lighttable view. And, the resolution of the darkroom view&#8217;s preview-resolution images has been increased from 720&#215;450 to 1440&#215;900.<\/p>\n<p>It also added pinning images directly from the 2nd window, through either drag&#8217;n&#8217;drop from the the horizontal strip of thumbnails or keyboard shortcut, as well as touchpad gestures to darkroom and lighttable culling layouts, and smartphone-like simultaneous pinch zooming and two-finger panning for Linux and Windows.<\/p>\n<div id=\"attachment_51433\" style=\"width: 567px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-51433\" class=\"size-full wp-image-51433\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable-welcome.webp\" alt=\"\" width=\"557\" height=\"592\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable-welcome.webp 557w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable-welcome-282x300.webp 282w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><p id=\"caption-attachment-51433\" class=\"wp-caption-text\">Darktable Welcome dialog<\/p><\/div>\n<p>Other changes include:<\/p>\n<ul>\n<li>New <code>--library &lt;path&gt;<\/code> command-line option.<\/li>\n<li>Include lua-scripts.<\/li>\n<li>Lua AI API (darktable.ai) for scripting AI model inference.<\/li>\n<li>New cameras support.<\/li>\n<li>Translation updates.<\/li>\n<\/ul>\n<p>There are also numerous improvements, bug-fixes, and other changes not mentioned in this post. See the <a href=\"https:\/\/github.com\/darktable-org\/darktable\/releases\/tag\/release-5.6.0\" target=\"_blank\" rel=\"noopener\">Github release page<\/a> for details.<\/p>\n<h3>How to Install Darktable 5.6.0<\/h3>\n<p>Darktable provide official installer packages for Linux, Windows, and macOS, which are available to download via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/www.darktable.org\/install\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download Darktable<\/a><\/div>\n<\/div>\n<p>For Linux on modern Intel\/AMD platform, select download the AppImage, add executable permission from its properties dialog, finally run to launch the photography software. Though, Ubuntu since 22.04 needs to install <code>libfuse2<\/code> package for AppImage support.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51434\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable560-appimage-700x428.webp\" alt=\"\" width=\"610\" height=\"373\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable560-appimage-700x428.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable560-appimage-300x183.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable560-appimage-768x470.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/darktable560-appimage.webp 1022w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>For Ubuntu user who prefer native <code>.deb<\/code> package, keep an eye on this <a href=\"https:\/\/software.opensuse.org\/download.html?project=graphics:darktable&amp;package=darktable\" target=\"_blank\" rel=\"noopener\">OBS repository<\/a> (not updated at the moment of writing), or use the <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/darktable\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> so far supports Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 26.04.<\/p>\n<p><b>The AI feature in PPA package is only available for Ubuntu 26.04, while the package for Ubuntu 24.04 is on its way.<\/b><\/p>\n<p>To add the PPA and install Darktable, open terminal (Ctrl+Alt+T) and run the commands below one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/darktable\r\nsudo apt update\r\nsudo apt install darktable<\/pre>\n<p><b>NOTE: You need to also install <code>libonnxruntime1.23<\/code> in Ubuntu 26.04 for ONNX Runtime library if you want GPU acceleration for AI inference.<\/b> See the <a href=\"https:\/\/docs.darktable.org\/usermanual\/development\/en\/special-topics\/ai\/gpu-acceleration\/\" target=\"_blank\" rel=\"noopener\">GPU acceleration setup guide<\/a>.<\/p>\n<p>To uninstall the PPA and darktable deb package, use commands:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/darktable\r\nsudo apt update\r\nsudo apt remove darktable<\/pre>","protected":false},"excerpt":{"rendered":"<p>Darktable, the popular free open-source photography and raw developer application, released new major 5.6.0 version today! The new version introduced optional AI sub-system, UI\/UX and performance improvements, as well as many fixes and other changes.<\/p>\n","protected":false},"author":1,"featured_media":36501,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[585],"class_list":["post-51428","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-darktable"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=51428"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51428\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/36501"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=51428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=51428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=51428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}