wpferguson
wpferguson
Here's the code to do it ```lua local function toint(number) if number > 0 then return math.floor(number) elseif number < 0 then return math.ceil(number) else return 0 end end local...
I got around to testing today. The last `else` statement in `nearbyintf` needs an end statement. I ran this in Lua interactively and tested random exposure values from my images...
I just ran a test comparing the two algorithms with shutters speeds from 30 seconds to 1/8000 in 1/3 stops and they both had the same (correct) answer across the...
> as it’s here already so's the Lua one :) > would be better if we can expose the C impl If we expose the C implementation - It wouldn't...
https://docs.darktable.org/lua/stable
When you start darktable for the first time, down in the lower left there is a module called scripts_installer. It will install the scripts for you in the proper place...
The code checks for a luarc and renames it to luarc.old. ```lua local function backup_luarc() debug_message("backuping up luarc file (if it exists)") local p = io.popen(_scripts_install.dir_cmd .. CONFIG_DIR) for line...
I'll spin up a Win 11 VM and test.
What were you trying to achieve by moving it up in the pixelpipe? There's a reason behind the pixelpipe ordering and you just discovered it.
From the user manual.... > Some cameras (such as the Nikon D1X) have rectangular instead of the usual square sensor cells. Without correction this would lead to distorted images. So...