<p>I was looking for that kind of software as well.
Then I found the .cube specification.</p>
<p>I thought to myself ... an average programmer should be able to do it in a couple of days ... and then I did the job ;-)</p>
<p>It's called <em><strong>lutcraft</strong></em>, a command line tool written in python3.</p>
<p>You can find it on github:</p>
<p><a href="https://github.com/EinExperte/lutcraft" rel="nofollow noreferrer">https://github.com/EinExperte/lutcraft</a></p>
<p>Instruction:</p>
<blockquote>
<ol>
<li>Create a neutral png image</li>
</ol>
</blockquote>
<pre><code>lutc lut-neutral.png
</code></pre>
<blockquote>
<ol start="2">
<li>Manipulate the colors of the image</li>
</ol>
<p>Do pixel-level color adjustments as desired.</p>
<p>Tools I suggest are darktable, gimp, flowblade or cinelerra. Any other program doing pixel-level imaging will do fine.</p>
<p>Then save the image. I assume you call the file lut-x.png.</p>
<ol start="3">
<li>Convert the image into a lookup table (.cube file)</li>
</ol>
</blockquote>
<pre><code>lutc -i lut-x.png lut-x.cube
</code></pre>
<blockquote>
<p>This will output a 3D lookup tabble corresponding to the file lut-x.cube</p>
</blockquote>
<p>If you have any questions / suggestions / etc., feel free to comment or e-mail me.</p>

CC BY-SA 4.0
2023-01-25T16:05:07.317Z
2023-01-25T16:05:07.317Z
ChristophK
<p>You can try Photo Curves web app - since this is online tool - you can create 3D LUTs with it on Linux too - its free, no registration required:</p>
<p><a href="https://photocurves.curvednebula.com/" rel="nofollow noreferrer">https://photocurves.curvednebula.com/</a></p>

CC BY-SA 4.0
2024-05-28T15:22:58.617Z
2024-05-28T15:25:30.610Z
2024-05-28T15:25:30.610Z
Elya Si
<p>I use Linux for everything media production. I shoot RAW and process images with Darktable.</p>
<p>Now that I've started making videos too (4K ProRes), I need to apply a LUT to them in post. This requires importing a .cube file into Kdenlive. I know how to do that, but I don't know how to <em>create</em> a LUT.</p>
<p>Can I import a frame of video into Darktable, adjust the colors, and export a .cube file to import into Kdenlive to apply to the video?</p>
<p>Or are there other programs that will create a LUT on Linux? Can GIMP do it?</p>
<p><strong>What Linux program can be used to <em>create</em> LUTs?</strong></p>

CC BY-SA 4.0
2022-02-19T17:28:21.540Z
Did you managed to solve this?
majkrzak
CC BY-SA 4.0
2023-01-14T14:47:37.923Z
I'm looking for a solution myself. Just as a starting point: Check out a .cube file, it's plain text. Also the specification might help, found it here: https://kono.phpage.fr/images/a/a1/Adobe-cube-lut-specification-1.0.pdf
ChristophK
CC BY-SA 4.0
2023-01-14T14:55:43.337Z
This article - https://streamshark.io/obs-guide/converting-cube-3dl-lut-to-image - supplies a neutral lut image file. With a bit of programming skills it should be possible to code ones own .cube file generator. There seems to be an online generator (I know it's not exactly what you want) - https://www.onlinelutcreator.com/lutcreator - but it's necessary to sign up. Didn't try it, yet.
ChristophK
<color-correction><linux>
How can I create a LUT on Linux with free and open source software?
Nick
# How can I create a LUT on Linux with free and open source software?

(Asked by: username_0 on 2020-08-29)

I use Linux for everything media production. I shoot RAW and process images with Darktable.

Now that I've started making videos too (4K ProRes), I need to apply a LUT to them in post. This requires importing a .cube file into Kdenlive. I know how to do that, but I don't know how to *create* a LUT.

Can I import a frame of video into Darktable, adjust the colors, and export a .cube file to import into Kdenlive to apply to the video?

Or are there other programs that will create a LUT on Linux? Can GIMP do it?

**What Linux program can be used to *create* LUTs?**

**Tags:** color-correction, linux

> **Comments:**
> **username_1**: Did you managed to solve this?  
> **username_2**: I'm looking for a solution myself. Just as a starting point: Check out a .cube file, it's plain text. Also the specification might help, found it here: https://kono.phpage.fr/images/a/a1/Adobe-cube-lut-specification-1.0.pdf  
> **username_2**: This article - https://streamshark.io/obs-guide/converting-cube-3dl-lut-to-image - supplies a neutral lut image file. With a bit of programming skills it should be possible to code ones own .cube file generator. There seems to be an online generator (I know it's not exactly what you want) - https://www.onlinelutcreator.com/lutcreator - but it's necessary to sign up. Didn't try it, yet.  

---

## 2 answers

### Answer by username_2 on 2023-01-25. Score: 1

I was looking for that kind of software as well.
Then I found the .cube specification.
I thought to myself ... an average programmer should be able to do it in a couple of days ... and then I did the job ;-)
It's called lutcraft, a command line tool written in python3.
You can find it on github:
https://github.com/EinExperte/lutcraft
Instruction:


Create a neutral png image


lutc lut-neutral.png



Manipulate the colors of the image

Do pixel-level color adjustments as desired.
Tools I suggest are darktable, gimp, flowblade or cinelerra. Any other program doing pixel-level imaging will do fine.
Then save the image. I assume you call the file lut-x.png.

Convert the image into a lookup table (.cube file)


lutc -i lut-x.png lut-x.cube


This will output a 3D lookup tabble corresponding to the file lut-x.cube

If you have any questions / suggestions / etc., feel free to comment or e-mail me.


---

### Answer by username_3 on 2024-05-28. Score: 0

You can try Photo Curves web app - since this is online tool - you can create 3D LUTs with it on Linux too - its free, no registration required:

<https://photocurves.curvednebula.com/>


---

