jefffermo@gmail.com
e97f2f3fc6
* make enfuse output file unique(fairly)
...
* add option --blend-colorspace of situation like this https://monochrome.sutic.nu/2019/06/18/enblend-4.2-color-space-blending-bug.html
2020-02-27 13:26:37 +08:00
Bill Ferguson
64f423f3d1
Added a check to ensure the enfuse executable is found. If the executable isn't found, throw an error, print messgaes, and refuse to load.
2020-01-05 15:33:53 -05:00
Bill Ferguson
de087f743f
Fixed compatibility issues. Added new version check to scripts. Renamed lib/dtutils/file/rm() to lib/dtutils/file/rmdir since removing a file in windows with rmdir /q/s results in an error. Fixed os.tmpname() issued in enfuse. Under windows os.tmpname() doesn't put the file in a temporary directory, so fixed it to use darktable.configuration.tmp_dir. Cleaned up documentation in lib/dtutils/system.lua.
2019-02-24 15:19:37 -05:00
wpferguson
238856ed89
Merge pull request #153 from cigno5/master
...
enfuse: convert raws to tiff automatically
2019-02-21 23:50:40 -05:00
Bill Ferguson
8b714edb67
Changed check_min_api_version() to print error messages and throw an error if the minimum api is not satisfied. Updated the scripts to reflect the changed check_min_api_version().
2019-02-20 00:22:05 -05:00
Bill Ferguson
451c7fb956
Added check_min_api_function to dtutils.lua to check the minimum version of the lua API required for a script to run. This is intended to replace the API check done with darktable.configuration.check_version(), which requires changing each time the API version changes. check_min_api_version should work for all API version changes unless backward compatibility is broken. All the scripts using darktable.configuration.check_version() were changed to use check_min_api_version().
2019-02-18 19:46:11 -05:00
luca
32f6310947
Used DT internal conversion (in place of darktable-cli os call)
...
Now a TIFF exporter is instanced at the beginning and used for all
selected raws
No system call to darktable-cli anymore
2019-01-08 21:15:18 +01:00
luca
f464a52ea4
dt.print made properly with string.format
...
All print call have been replaced with string.format (when needed) and
call to dt.gettext, in a future opening to translation
2019-01-08 20:46:32 +01:00
luca
e05e05d866
enfuse: convert raws to tiff automatically
...
it uses darktable-cli (if installed) to convert to a temporary file the
raw files that enfuse is not able to process.
2019-01-06 21:42:49 +01:00
Bill Ferguson
26e16ffeda
Added a version check to modify the arguments based on the version of enfuse. Enfuse 4.2 no longer accepts the exposure-mu argument. The closest function is exposure-optimum. For versions of enfuse less than 4.2 exposure-mu is used. For versions of enfuse greater than 4.2, exposure-optimum is used.
2018-08-15 00:30:18 -04:00
Tobias Ellinghaus
71fbf5705c
Use print_log in import_filter_manager
2018-05-23 10:23:48 +02:00
Tobias Ellinghaus
95077f639b
New script to delete unused tags on startup
2018-01-17 10:42:44 +01:00
Tobias Ellinghaus
493dcc7ef7
Don't delete tags while iterating
2018-01-17 10:41:55 +01:00
supertobi
67d92bd070
Update selection_to_pdf.lua
...
added {5,0,0} to the check_version
2018-01-02 11:37:10 +01:00
supertobi
d6e53cc005
Update save_selection.lua
...
added {5,0,0} to the check_version
2018-01-02 11:35:57 +01:00
supertobi
2c77712ab4
Update image_path_in_ui.lua
...
added {5,0,0} to the check_version
2018-01-02 11:34:41 +01:00
supertobi
10c1eff1b6
Update generate_image_txt.lua
...
added {5,0,0} to the check_version
2018-01-02 11:33:40 +01:00
supertobi
4c26465dde
Update enfuse.lua
...
added {5,0,0} to the check_version
2018-01-02 11:30:08 +01:00
supertobi
d29e5f49f4
Update delete_long_tags.lua
...
added {5,0,0} to the check_version
2018-01-02 11:28:44 +01:00
supertobi
0191558d26
Update copy_paste_metadata.lua
...
added {5,0,0} to the check_version
2018-01-02 11:24:42 +01:00
supertobi
d3692bcc09
check_for_updates.lua: added {5,0,0} to the check_version
2018-01-02 11:22:43 +01:00
supertobi
4090266989
Removed not needed code in yield.lua
2017-10-10 17:22:24 +02:00
supertobi
bff2df018b
Update enfuse.lua
...
use "lib/dtutils.file"
2017-04-27 22:07:23 +02:00
Tobias Ellinghaus
44e4c3ddc5
enfuse: Fix typo in script description
2017-03-07 18:14:58 +01:00
Bill Ferguson
93e30a8542
Verified API 4.0.0 compatibility and made the necessary changes
2016-11-07 22:53:52 -05:00
supertobi
85ccc663c8
Merge pull request #74 from wpferguson/libraries
...
Libraries
2016-10-25 13:30:37 +02:00
Bill Ferguson
f550822943
Added require "official/yield" to scripts that use dt.control.execute() so that they work correctly if you haven't required official/yield somewhere else.
2016-10-21 13:25:40 -04:00
Bill Ferguson
a254ac87f7
Created libraries from commonly used functions. Moved official/debug-helpers.lua into lib/dtutils/debug.lua. Created a logging library to provide various levels of logging. Documented all libraries and functions. Created tools to extract documentation in text, man page, and pdf formats.
2016-10-15 01:47:43 -04:00
tejovanthn
8392f6f5a6
enables custom number of thumbnails per row
...
Changes the thumbs_per_line from a text field to a slider
2016-06-29 03:19:20 +05:30
supertobi
d79237958f
Create yield.lua
...
darktable yield compatibility script
2016-04-28 23:20:37 +02:00
Christian Mandel
2325d24d6f
Comments added for import-filters fix.
2016-04-28 10:27:25 +02:00
Christian Mandel
4397e07d7f
Fix accidentally deleted first image during import. Lua is very picky about sparse table handling.
2016-04-28 00:43:21 +02:00
Jérémy Rosen
783194e253
update to newest API change in master
2016-04-17 20:46:32 +02:00
supertobi
670915ab36
fixed typo: will will -> will
2016-04-10 00:05:34 +02:00
Tobias Ellinghaus
6c4f9b2c03
Add script to copy & paste metadata between images
...
This not only takes care of tags (we already have a script for that in
contrib) but also color labels, rating and the things from the metadata
module.
2016-03-29 20:11:19 +02:00
Tobias Ellinghaus
f6e2037a1b
Fix formatting of copyright header
2016-03-29 19:52:31 +02:00
Jérémy Rosen
9da0173e05
mark save-selection as 3.0.0 compatible
2016-03-05 10:51:12 +01:00
Tobias Ellinghaus
a21b171d96
Add a script that allows running enfuse on images
2016-03-02 14:42:38 +01:00
supertobi
69d5c139f6
Rename official/hello_world.lua to examples/hello_world.lua
2016-01-22 09:46:39 +01:00
houz
e4f5d44658
Merge pull request #31 from wpferguson/wpferguson-patch-1
...
Update selection_to_pdf.lua
2016-01-07 12:30:33 +01:00
Tobias Ellinghaus
fc7a25ca4d
Mark most official scripts as compatible with dt2
2016-01-07 11:23:34 +01:00
wpferguson
98a4144403
Update selection_to_pdf.lua
...
Added API version 3.0.0 for compatibility with Darktable 2.0. Tested with Darktable 2.0.
2016-01-06 10:51:56 -05:00
spaceChRiS
fe18256c25
Remove extra line from image list.
2016-01-04 10:44:41 +01:00
spaceChRiS
39531eb4f0
Take care for code in for loop to be run even for the last image.
...
The problem: If the last image is a jpeg/raw pair, the code to remove the jpeg from the import list is not run since it is the last image. This is solved by adding an empty line to the images array. It will be counted as new base and therefore the jpeg removal code will be run one more time. I don't know if this is a good solution but I think it solves the problem without adding complexity.
2016-01-03 10:44:14 +01:00
Jérémy Rosen
ff1f076536
Revert "disable image_path_in_ui since it relies on a disabled feature"
...
This reverts commit 1dc1f5f9ef .
2015-12-23 15:21:38 +01:00
Jérémy Rosen
1dc1f5f9ef
disable image_path_in_ui since it relies on a disabled feature
2015-12-23 15:20:24 +01:00
Tobias Ellinghaus
f4f96d7158
Ellipsize a label with image path
...
Otherwise it will make the side panel too wide, breaking the whole gui.
2015-12-16 11:52:35 +01:00
Tobias Ellinghaus
ae627d9f55
Make update check work with RCs
2015-11-14 13:43:19 +01:00
Tobias Ellinghaus
5f6350c218
Add helper that checks GitHub for new dt releases
2015-10-01 21:55:19 +02:00
Boucman
8aab42e36a
Merge pull request #11 from supertobi/patch-1
...
Update selection_to_pdf.lua
2015-08-26 10:37:49 +02:00