Re: [darktable-dev] How to get value of format "quality" from the panel in lua script.

2023-07-11 Thread William Ferguson
On Tue, Jul 11, 2023 at 2:36 AM Zener wrote: > Actually, creating a new one (jpeg format dt.new_format(jpeg)), it takes > panel values which I can read after. > > Anyway... I need to use panel setting in some post-elaboration and the > above way can be useful. > > However I can't still get "allow

Re: [darktable-dev] How to get value of format "quality" from the panel in lua script.

2023-07-10 Thread Zener
Actually, creating a new one (jpeg format dt.new_format(jpeg)), it takes panel values which I can read after. Anyway... I need to use panel setting in some post-elaboration and the above way can be useful. However I can't still get "allow upscaling" selection. no way to get it?? thanks

Re: [darktable-dev] How to get value of format "quality" from the panel in lua script.

2023-07-06 Thread William Ferguson
Reading the value wouldn't serve a useful purpose, so it's not implemented. The purpose of reading the value would be to see if it's set correctly and if not then set it correctly. So, save yourself the code of reading and testing the value, and just set it to the value you've decided is correct.

[darktable-dev] How to get value of format "quality" from the panel in lua script.

2023-07-06 Thread Zener
Hello... I can't get, in a lua script, the value of "quality" set on the panel. I can set it as an export parameter of a dt_imageio_module_format_data_jpeg type (dt_imageio_module_format_data_jpeg.quality) but i don't know how to get the value se