Re: [darktable-dev] Temperature / tint on lua

2023-10-13 Thread Pascal Obry
Le vendredi 13 octobre 2023 à 13:11 -0400, William Ferguson a écrit :
> There is no way that I'm aware of to extract that information from
> the database using Lua.

It should be possible using introspection but using the history for the
image, finding the temperature module and extract the value from the
parameters.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://photos.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Temperature / tint on lua

2023-10-13 Thread William Ferguson
There is no way that I'm aware of to extract that information from the
database using Lua.

On Fri, Oct 13, 2023 at 12:58 PM Zener  wrote:

> mm
> I mean for each image in database, no just for the current one in
> editing...
>
> Il ven 13 ott 2023, 18:35 William Ferguson  ha
> scritto:
>
>> You should be able to get it by using darktable.gui.action() and getting
>> the current value of the sliders.
>>
>> On Fri, Oct 13, 2023 at 9:05 AM Zener  wrote:
>>
>>> Hi.
>>>
>>> Can I get image temperature setting by lua?
>>>
>>> Thnks.
>>>
>>>
>>> ___
>>> darktable developer mailing list
>>> to unsubscribe send a mail to
>>> darktable-dev+unsubscr...@lists.darktable.org
>>>
>>>
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Temperature / tint on lua

2023-10-13 Thread Zener
mm
I mean for each image in database, no just for the current one in editing...

Il ven 13 ott 2023, 18:35 William Ferguson  ha
scritto:

> You should be able to get it by using darktable.gui.action() and getting
> the current value of the sliders.
>
> On Fri, Oct 13, 2023 at 9:05 AM Zener  wrote:
>
>> Hi.
>>
>> Can I get image temperature setting by lua?
>>
>> Thnks.
>>
>>
>> ___
>> darktable developer mailing list
>> to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] Temperature / tint on lua

2023-10-13 Thread William Ferguson
You should be able to get it by using darktable.gui.action() and getting
the current value of the sliders.

On Fri, Oct 13, 2023 at 9:05 AM Zener  wrote:

> Hi.
>
> Can I get image temperature setting by lua?
>
> Thnks.
>
> ___
> darktable developer mailing list
> to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>
>

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



[darktable-dev] Temperature / tint on lua

2023-10-13 Thread Zener

Hi.

Can I get image temperature setting by lua?

Thnks.

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org