Re: [darktable-user] denoising problems

2018-03-07 Thread Bernhard



Robert Krawitz schrieb am 08.03.2018 um 03:52:

On Wed, 7 Mar 2018 20:36:14 +0100, Matej Martinovic wrote:

Hey,

denoising in darktable is somewhat tricky:

Use the *denoise (profiled)*, set it to "wavelet" and set blend mode to "color". This 
eliminates the awful color noise. Use a *second instance* of denoise (profiled), set it to non-local means 
and choose blend mode "lightness". With that second instance i'll usually reduce the strength or 
opacity to my liking to keep some detail.

You can set some presets and have them apply the correct denoising 
automatically.

This info is also available in the manual 
https://www.darktable.org/usermanual/en/correction_group.html, under 3.4.4.3. 
Denoise – profiled -> mode.

I've tried this also a number of times, and also find the NR from
Darktable unsatisfactory compared to RawTherapee.  I'm using a
7DnmkII, typically at ISO 6400-8000.  I've posted a number of examples
here:
https://rlk.smugmug.com/Photography/DarktableRawTherapee/i-pZbDfRH

It's unfortunate; there are other reasons I'd prefer to use Darktable,
but when I need significant noise reduction, the artifacts I get are
simply not satisfactory.


On 2018-03-07 19:59, darkta...@911networks.com wrote:

DT 2.4.1

I'm having problems with the denoising:
Canon 7DMkII and Canon 70-200L IS f/4 ISO1250

Darktable:
* before denoise: https://i.imgur.com/k9Njy70.png
* denoise profiled: https://i.imgur.com/Unw2i8O.png and it's very
blotchy
* equalizer denoise: https://i.imgur.com/8E1CzHt.png (w/o the
denoise profiled). Less blotchy than profiled but not good either.

I have also tried Rawtherapee
* after noise reduction: https://i.imgur.com/Js5ZGfd.png and it's
excellent

What can I do to improve the image?
I found some improvement recently on my D500 by playing with 
https://www.darktable.org/usermanual/en/modules.html#demosaic 
demosaicing before doing anything else.
I have adjusted the settings in such a way that the structure of the 
noise appears as "even" as possible. This makes the artifacts less 
conspicuous after denoising.

Worth a try I guess.

--

regards
Bernhard

https://www.bilddateien.de


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] denoising problems

2018-03-07 Thread I. Ivanov

I took the profile Denoise_chinese

from https://dtstyle.net/

Some times I simply rely on it while others I only tweak the demosaic 
module to VNG4 two times full average or Amaze.


I should say however that I very rarely shoot at more than ISO 6400.

Never compared to RawTherapee... I had a bit of a rough start with it 
and then I just switched to DT.


Regards,

B


On 2018-03-07 06:52 PM, Robert Krawitz wrote:

On Wed, 7 Mar 2018 20:36:14 +0100, Matej Martinovic wrote:

Hey,

denoising in darktable is somewhat tricky:

Use the *denoise (profiled)*, set it to "wavelet" and set blend mode to "color". This 
eliminates the awful color noise. Use a *second instance* of denoise (profiled), set it to non-local means 
and choose blend mode "lightness". With that second instance i'll usually reduce the strength or 
opacity to my liking to keep some detail.

You can set some presets and have them apply the correct denoising 
automatically.

This info is also available in the manual 
https://www.darktable.org/usermanual/en/correction_group.html, under 3.4.4.3. 
Denoise – profiled -> mode.

I've tried this also a number of times, and also find the NR from
Darktable unsatisfactory compared to RawTherapee.  I'm using a
7DnmkII, typically at ISO 6400-8000.  I've posted a number of examples
here:
https://rlk.smugmug.com/Photography/DarktableRawTherapee/i-pZbDfRH

It's unfortunate; there are other reasons I'd prefer to use Darktable,
but when I need significant noise reduction, the artifacts I get are
simply not satisfactory.


On 2018-03-07 19:59, darkta...@911networks.com wrote:

DT 2.4.1

I'm having problems with the denoising:
Canon 7DMkII and Canon 70-200L IS f/4 ISO1250

Darktable:
* before denoise: https://i.imgur.com/k9Njy70.png
* denoise profiled: https://i.imgur.com/Unw2i8O.png and it's very
blotchy
* equalizer denoise: https://i.imgur.com/8E1CzHt.png (w/o the
denoise profiled). Less blotchy than profiled but not good either.

I have also tried Rawtherapee
* after noise reduction: https://i.imgur.com/Js5ZGfd.png and it's
excellent

What can I do to improve the image?



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Checking for errors/debugging my openCL

2018-03-07 Thread Šarūnas
On 03/07/2018 04:30 PM, Bernhard wrote:
> 
> 
> Ulrich Pegelow schrieb am 05.03.2018 um 17:54:
>> Additionally you may want to play with opencl_number_event_handles.
>> Start with an extreme setting of zero. In case this would solve your
>> issues you can then try different values in-between.
>>
>> Ulrich 
> I changed this value with no result.
> 
> Then I learned that there is a little tool called clinfo.
> I fear that it's a hardware or system issue now.
> 
> I get
> 
> $ clinfo
> Number of platforms   1
>   Platform Name   NVIDIA CUDA
>   Platform Vendor NVIDIA Corporation
>   Platform Version    OpenCL 1.2 CUDA 9.0.282
>   Platform Profile FULL_PROFILE
>   Platform Extensions cl_khr_global_int32_base_atomics
> cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics
> cl_khr_local_int32_extended_atomics cl_khr_fp64
> cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing
> cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll
> cl_nv_copy_opts cl_nv_create_buffer
>   Platform Extensions function suffix NV
> 
>   Platform Name   NVIDIA CUDA
> Number of devices 1
>   Device Name GeForce GTX 1050 Ti
>   Device Vendor   NVIDIA Corporation
>   Device Vendor ID    0x10de
>   Device Version  OpenCL 1.2 CUDA
>   Driver Version  384.111
>   [...]

Perhaps it is possible to try different versions of nvidia driver and
CUDA, older/newer?

Nvidia has a network repository at
http://developer.download.nvidia.com/compute/cuda/repos/

-- 
Šarūnas Burdulis
math.dartmouth.edu/~sarunas



signature.asc
Description: OpenPGP digital signature


Re: [darktable-user] Checking for errors/debugging my openCL

2018-03-07 Thread Bernhard



Ulrich Pegelow schrieb am 05.03.2018 um 17:54:
Additionally you may want to play with opencl_number_event_handles. 
Start with an extreme setting of zero. In case this would solve your 
issues you can then try different values in-between.


Ulrich 

I changed this value with no result.

Then I learned that there is a little tool called clinfo.
I fear that it's a hardware or system issue now.

I get

$ clinfo
Number of platforms   1
  Platform Name   NVIDIA CUDA
  Platform Vendor NVIDIA Corporation
  Platform Version    OpenCL 1.2 CUDA 9.0.282
  Platform Profile FULL_PROFILE
  Platform Extensions cl_khr_global_int32_base_atomics 
cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics 
cl_khr_local_int32_extended_atomics cl_khr_fp64 
cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing 
cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll 
cl_nv_copy_opts cl_nv_create_buffer

  Platform Extensions function suffix NV

  Platform Name   NVIDIA CUDA
Number of devices 1
  Device Name GeForce GTX 1050 Ti
  Device Vendor   NVIDIA Corporation
  Device Vendor ID    0x10de
  Device Version  OpenCL 1.2 CUDA
  Driver Version  384.111
  Device OpenCL C Version OpenCL C 1.2
  Device Type GPU
  Device Profile FULL_PROFILE
  Device Topology (NV)    PCI-E, 01:00.0
  Max compute units   6
  Max clock frequency 1392MHz
  Compute Capability (NV) 6.1
  Device Partition    (core)
    Max number of sub-devices 1
    Supported partition types None
  Max work item dimensions    3
  Max work item sizes 1024x1024x64
  Max work group size 1024
  Preferred work group size multiple  32
  Warp size (NV)  32
  Preferred / native vector sizes
    char 1 / 1
    short    1 / 1
    int  1 / 1
    long 1 / 1
    half 0 / 0    (n/a)
    float    1 / 1
    double   1 / 1    
(cl_khr_fp64)

  Half-precision Floating-point support   (n/a)
  Single-precision Floating-point support (core)
    Denormals Yes
    Infinity and NANs Yes
    Round to nearest  Yes
    Round to zero Yes
    Round to infinity Yes
    IEEE754-2008 fused multiply-add   Yes
    Support is emulated in software   No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support (cl_khr_fp64)
    Denormals Yes
    Infinity and NANs Yes
    Round to nearest  Yes
    Round to zero Yes
    Round to infinity Yes
    IEEE754-2008 fused multiply-add   Yes
    Support is emulated in software   No
    Correctly-rounded divide and sqrt operations  No
  Address bits    64, Little-Endian
  Global memory size 4231725056 (3.941GiB)
  Error Correction support    No
  Max memory allocation 1057931264 (1009MiB)
  Unified memory for Host and Device  No
  Integrated memory (NV)  No
  Minimum alignment for any data type 128 bytes
  Alignment of base address   4096 bits (512 bytes)
  Global Memory cache type Read/Write
  Global Memory cache size    98304
  Global Memory cache line    128 bytes
  Image support   Yes
    Max number of samplers per kernel 32
    Max size for 1D images from buffer    134217728 pixels
    Max 1D or 2D image array size 2048 images
    Max 2D image size 16384x32768 pixels
    Max 3D image size 16384x16384x16384 pixels
    Max number of read image args 256
    Max number of write image args    16
  Local memory type   Local
  Local memory size  

Re: [darktable-user] denoising problems

2018-03-07 Thread darktable
Thanks to all. It does help.


On Wed, 7 Mar 2018 20:36:14 +0100
Matej Martinovic  wrote:

>Hey,
>
>denoising in darktable is somewhat tricky:
>
>Use the *denoise (profiled)*, set it to "wavelet" and set blend mode
>to "color". This eliminates the awful color noise. Use a *second
>instance* of denoise (profiled), set it to non-local means and
>choose blend mode "lightness". With that second instance i'll
>usually reduce the strength or opacity to my liking to keep some
>detail.
>
>You can set some presets and have them apply the correct denoising
>automatically.
>
>This info is also available in the manual
>https://www.darktable.org/usermanual/en/correction_group.html, under
>3.4.4.3. Denoise – profiled -> mode.
>
>BR
>Matej
>
>
>On 2018-03-07 19:59, darkta...@911networks.com wrote:
>> DT 2.4.1
>>
>> I'm having problems with the denoising:
>> Canon 7DMkII and Canon 70-200L IS f/4 ISO1250
>>
>> Darktable:
>> * before denoise: https://i.imgur.com/k9Njy70.png
>> * denoise profiled: https://i.imgur.com/Unw2i8O.png and it's very
>>blotchy
>> * equalizer denoise: https://i.imgur.com/8E1CzHt.png (w/o the
>>denoise profiled). Less blotchy than profiled but not good
>> either.
>>
>> I have also tried Rawtherapee
>> * after noise reduction: https://i.imgur.com/Js5ZGfd.png and it's
>>excellent
>>
>> What can I do to improve the image?
>>
>>  
>
>
>
>darktable user mailing list
>to unsubscribe send a mail to
>darktable-user+unsubscr...@lists.darktable.org


-- 
sknahT

vyS

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] denoising problems

2018-03-07 Thread Matej Martinovic

Hey,

denoising in darktable is somewhat tricky:

Use the *denoise (profiled)*, set it to "wavelet" and set blend mode to 
"color". This eliminates the awful color noise. Use a *second instance* 
of denoise (profiled), set it to non-local means and choose blend mode 
"lightness". With that second instance i'll usually reduce the strength 
or opacity to my liking to keep some detail.


You can set some presets and have them apply the correct denoising 
automatically.


This info is also available in the manual 
https://www.darktable.org/usermanual/en/correction_group.html, under 
3.4.4.3. Denoise – profiled -> mode.


BR
Matej


On 2018-03-07 19:59, darkta...@911networks.com wrote:

DT 2.4.1

I'm having problems with the denoising:
Canon 7DMkII and Canon 70-200L IS f/4 ISO1250

Darktable:
* before denoise: https://i.imgur.com/k9Njy70.png
* denoise profiled: https://i.imgur.com/Unw2i8O.png and it's very
   blotchy
* equalizer denoise: https://i.imgur.com/8E1CzHt.png (w/o the
   denoise profiled). Less blotchy than profiled but not good either.

I have also tried Rawtherapee
* after noise reduction: https://i.imgur.com/Js5ZGfd.png and it's
   excellent

What can I do to improve the image?






darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

[darktable-user] denoising problems

2018-03-07 Thread darktable
DT 2.4.1

I'm having problems with the denoising:
Canon 7DMkII and Canon 70-200L IS f/4 ISO1250

Darktable:
* before denoise: https://i.imgur.com/k9Njy70.png
* denoise profiled: https://i.imgur.com/Unw2i8O.png and it's very
  blotchy 
* equalizer denoise: https://i.imgur.com/8E1CzHt.png (w/o the
  denoise profiled). Less blotchy than profiled but not good either.

I have also tried Rawtherapee
* after noise reduction: https://i.imgur.com/Js5ZGfd.png and it's
  excellent

What can I do to improve the image?


-- 
sknahT

vyS

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] How to delete a film roll

2018-03-07 Thread Tobias Ellinghaus
Am Mittwoch, 7. März 2018, 19:16:16 CET schrieb Anders Lund:
> onsdag den 7. marts 2018 19.05.56 CET skrev Tobias Ellinghaus:
> > Am Mittwoch, 7. März 2018, 18:41:28 CET schrieb Anders Lund:
> > > Hi list,
> > > 
> > > How do I remove a film roll from darktables memory?
> > 
> > Just select all the images in it and remove them from darktable. The now
> > empty filmroll will be removed automatically.
> 
> Thanks Tobias, but at least for now, the filmroll is still in the "recent"
> list, and just shows as empty. Not that it matters that much, though :)

Yes, the list of recent collections is kind of dumb. :-(

> Kindly,
> Anders
> 
> > > Kindly,
> > > Anders
> > 
> > Tobias
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



signature.asc
Description: This is a digitally signed message part.


Re: [darktable-user] How to delete a film roll

2018-03-07 Thread Anders Lund
onsdag den 7. marts 2018 19.05.56 CET skrev Tobias Ellinghaus:
> Am Mittwoch, 7. März 2018, 18:41:28 CET schrieb Anders Lund:
> > Hi list,
> > 
> > How do I remove a film roll from darktables memory?
> 
> Just select all the images in it and remove them from darktable. The now
> empty filmroll will be removed automatically.

Thanks Tobias, but at least for now, the filmroll is still in the "recent" 
list, and just shows as empty. Not that it matters that much, though :)

Kindly,
Anders

> > Kindly,
> > Anders
> 
> Tobias





darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] How to delete a film roll

2018-03-07 Thread Tobias Ellinghaus
Am Mittwoch, 7. März 2018, 18:41:28 CET schrieb Anders Lund:
> Hi list,
> 
> How do I remove a film roll from darktables memory?

Just select all the images in it and remove them from darktable. The now empty 
filmroll will be removed automatically.

> Kindly,
> Anders

Tobias

signature.asc
Description: This is a digitally signed message part.


[darktable-user] How to delete a film roll

2018-03-07 Thread Anders Lund
Hi list,

How do I remove a film roll from darktables memory? 

Kindly,
Anders



darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] What does the "subtract" blend mode do?

2018-03-07 Thread Ulrich Pegelow

Am 07.03.2018 um 17:10 schrieb Matthieu Moy:

Now, what "subtract" should do with colors is debatable, especially in Lab.
On the L channel, something like max(in - out, 0) would be rather natural.
On the a an b channels, I'm not sure what to do. Just doing in-out would
mean the final image would be black if the input and the output pixels
have the same colors (the same a and b). They'd keep the same colors if the
output is black & white. But for example, if the input is magenta (positive a)
and the output is even more magenta (greater a), do we expect the output to
be black (a clipped to 0)? Or green (negative a)?

One way to avoid the question would be to do a difference only on the L
channel, but just copy a and b from the output.


Well, that's probably not a good way to go. We had this issue in the 
"difference" mode in the past. This way you would get images with let's 
say L=0 and a=-50 ("highly blue saturated pitch black"). Due to the 
practical way how these "unbounded" Lab values are converted into 
monitor RGB you get some strange color artifacts, not the "black" that 
one would normally expect.




Or perhaps another option would be to just deprecate and remove "difference"
if we assume no one's using it.

Regards,




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] What does the "subtract" blend mode do?

2018-03-07 Thread Matthieu Moy
- Original Message -
> From: "Romano Giannetti" 

> On 07/03/18 11:32, Matthieu Moy wrote:
>> Before considering a fix: any idea how the "substract" operator should
>>> act in the Lab color space?
>> I have no idea ;-).
>>
>> Actually, my guess is that "subtract" is useful to blend two totally
>> different images together (e.g. blend a black text onto an image
>> for a dodge effect). For darktable where blending is done between
>> the original image and the image transformed by the module, I'm not
>> even sure "subtract" is a relevant thing to do. The fact that it's been
>> broken for years without anyone noticing is probably a sign that no
>> one ever found it useful.
>>
> 
> I am guilty of never using it in darktable, but the usage could be to
> see _where_ in the image the applied module is acting.

Actually, you already have "difference" for that.

The main expected difference between "difference" and "subtract" is the way
to deal with negative values. "difference" takes the absolute value, while
"subtract" (in Gimp, but the one in dt is not really a subtraction for now)
just clips negative values to 0.

"difference" (in dt at least) just outputs a black image saying how
much the input and the output pixels are different (black = same, white =
very different).

Now, what "subtract" should do with colors is debatable, especially in Lab.
On the L channel, something like max(in - out, 0) would be rather natural.
On the a an b channels, I'm not sure what to do. Just doing in-out would
mean the final image would be black if the input and the output pixels
have the same colors (the same a and b). They'd keep the same colors if the
output is black & white. But for example, if the input is magenta (positive a)
and the output is even more magenta (greater a), do we expect the output to
be black (a clipped to 0)? Or green (negative a)?

One way to avoid the question would be to do a difference only on the L
channel, but just copy a and b from the output.

Or perhaps another option would be to just deprecate and remove "difference"
if we assume no one's using it.

Regards,

-- 
Matthieu Moy
https://matthieu-moy.fr/

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] What does the "subtract" blend mode do?

2018-03-07 Thread Rafa García
2018-03-07 16:13 GMT+01:00 Romano Giannetti :

>
> On 07/03/18 11:32, Matthieu Moy wrote:
>
>> Before considering a fix: any idea how the "substract" operator should
>>
>>> act in the Lab color space?
>>>
>> I have no idea ;-).
>>
>> Actually, my guess is that "subtract" is useful to blend two totally
>> different images together (e.g. blend a black text onto an image
>> for a dodge effect). For darktable where blending is done between
>> the original image and the image transformed by the module, I'm not
>> even sure "subtract" is a relevant thing to do. The fact that it's been
>> broken for years without anyone noticing is probably a sign that no
>> one ever found it useful.
>>
>>
> I am guilty of never using it in darktable, but the usage could be to see
> _where_ in the image the applied module is acting. I mean, for example, if
> you really are subtracting, and you are applying an high pass, you should
> see a black image (no variation) with just the edge highlighted.
>

[OT] I usually do this with difference blend mode. For example when I want
to know in which areas affects equalizer I change temporary to difference
blend mode and can see it.



>
> Romano
>
> --
> Romano Giannetti
> http://www.rgtti.com/
>
>
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscribe@lis
> ts.darktable.org
>
>


-- 
Enviado desde mi tabla de planchar


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] What does the "subtract" blend mode do?

2018-03-07 Thread Romano Giannetti


On 07/03/18 11:32, Matthieu Moy wrote:

Before considering a fix: any idea how the "substract" operator should

act in the Lab color space?

I have no idea ;-).

Actually, my guess is that "subtract" is useful to blend two totally
different images together (e.g. blend a black text onto an image
for a dodge effect). For darktable where blending is done between
the original image and the image transformed by the module, I'm not
even sure "subtract" is a relevant thing to do. The fact that it's been
broken for years without anyone noticing is probably a sign that no
one ever found it useful.



I am guilty of never using it in darktable, but the usage could be to 
see _where_ in the image the applied module is acting. I mean, for 
example, if you really are subtracting, and you are applying an high 
pass, you should see a black image (no variation) with just the edge 
highlighted.


Now, I have tried with a grayscale image and it seems to work, so I am a 
bit surprised... with a color image it is not working, I agree.


Romano

--
Romano Giannetti
http://www.rgtti.com/


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Lua Export

2018-03-07 Thread David Vincent-Jones
thanks ... that is exacltly what I currently have

very confusing!

On 03/07/2018 11:49 AM, thokster wrote:
> The current version of selection_to_pdf.lua from here:
> https://github.com/darktable-org/lua-scripts/tree/master/official
> has the correct line 39.
> 
> Am 07.03.2018 um 11:38 schrieb David Vincent-Jones:
>> I am running dt ver. 2.5.0 ~git
>>
>> Should line 39 be modified for the current version??
>>
>> On 03/07/2018 11:31 AM, thokster wrote:
>>> Did you check line 39 in selection_to_pdf.lua?
>>>
>>>
>>> 39 dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0})
>> 
>>
>> darktable user mailing list
>> to unsubscribe send a mail to
>> darktable-user+unsubscr...@lists.darktable.org
>>
> 
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Lua Export

2018-03-07 Thread thokster
The current version of selection_to_pdf.lua from here: 
https://github.com/darktable-org/lua-scripts/tree/master/official

has the correct line 39.

Am 07.03.2018 um 11:38 schrieb David Vincent-Jones:

I am running dt ver. 2.5.0 ~git

Should line 39 be modified for the current version??

On 03/07/2018 11:31 AM, thokster wrote:

Did you check line 39 in selection_to_pdf.lua?


39 dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0})


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Lua Export

2018-03-07 Thread David Vincent-Jones
I am running dt ver. 2.5.0 ~git

Should line 39 be modified for the current version??

On 03/07/2018 11:31 AM, thokster wrote:
> Did you check line 39 in selection_to_pdf.lua?
> 
> 
> 39 dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0})

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] What does the "subtract" blend mode do?

2018-03-07 Thread Matthieu Moy
- Original Message -
> From: "Ulrich Pegelow" 

> You obviously have a point here, the current implementation does not do
> what the word "substact" implies.

> Before considering a fix: any idea how the "substract" operator should
> act in the Lab color space?

I have no idea ;-).

Actually, my guess is that "subtract" is useful to blend two totally
different images together (e.g. blend a black text onto an image
for a dodge effect). For darktable where blending is done between
the original image and the image transformed by the module, I'm not
even sure "subtract" is a relevant thing to do. The fact that it's been
broken for years without anyone noticing is probably a sign that no
one ever found it useful.

-- 
Matthieu Moy
https://matthieu-moy.fr/

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Lua Export

2018-03-07 Thread thokster

Did you check line 39 in selection_to_pdf.lua?


39 dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0})


Am 07.03.2018 um 11:01 schrieb David Vincent-Jones:

After making the git update some items (gimp for instance) are now
functioning correctly and I have moved the 'unresponsive' items to the
bottom of the list.

The error message however still appears as it was before indicating a
version mismatch:

LUA ERROR API Version: 5.0.0
LUA ERROR : /home/david/.config/darktable/lua/selection_to_pdf.lua:39:
Module selection_to_pdf is not compatible with API 5.0.0

I have checked that all the listed requirments are correctly in place
What am I still missing?

David


On 03/06/2018 09:59 PM, William Ferguson wrote:

The easiest way, IMHO, to get the scripts and keep them up to date is

cd ~/.config/darktable
git clone https://github.com/darktable-org/lua-scripts.git
mv lua-scripts lua

Then, when you want to update

cd ~/.config/darktable/lua
git pull


Regards,

Bill

On Tue, Mar 6, 2018 at 3:41 PM, August Schwerdfeger
> wrote:

 All of one's Lua scripts can be disabled by a single Lua error, so I
 would try updating to the current version of the
 'selection_to_pdf.lua' script.

 --
 August Schwerdfeger
 aug...@schwerdfeger.name 

 On Tue, Mar 6, 2018 at 2:00 PM, David Vincent-Jones
 > wrote:

 This is the cl feedback  there is no mention of the gimp.lua
 I am currently showing Lua version as 5.3.4 ... appears to be
 the latest.

 david@carbon:~> darktable -d lua
 [imageop_init_presets] updating 'basecurve' preset 'fujifilm
 like' from
 version 4 to version 5
 LUA ERROR API Version: 5.0.0
 LUA ERROR :
 /home/david/.config/darktable/lua/selection_to_pdf.lua:39:
 Module selection_to_pdf is not compatible with API 5.0.0

 David

 On 03/06/2018 03:40 PM, Patrick Shanahan wrote:
 > * David Vincent-Jones > [03-06-18 09:28]:
 >> For some reason my Lua scripts are not showing as export options.
 >>
 >> With Gimp (for example) the 'require "official/gimp" ' entry does 
exist
 >> and is correctly located in the ~/.config/darktable/luarc file.  
None of
 >> the other Lua options are also showing.    What am I missing?
 >
 > did you start dt from the cl to see what you are missing?
 >   darktable -d lua
 >
 >
 

 darktable user mailing list
 to unsubscribe send a mail to
 darktable-user+unsubscr...@lists.darktable.org
 



 

 darktable user mailing list to unsubscribe send a mail to
 darktable-user+unsubscr...@lists.darktable.org
 




darktable user mailing list to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Lua Export

2018-03-07 Thread David Vincent-Jones
After making the git update some items (gimp for instance) are now
functioning correctly and I have moved the 'unresponsive' items to the
bottom of the list.

The error message however still appears as it was before indicating a
version mismatch:

LUA ERROR API Version: 5.0.0
LUA ERROR : /home/david/.config/darktable/lua/selection_to_pdf.lua:39:
Module selection_to_pdf is not compatible with API 5.0.0

I have checked that all the listed requirments are correctly in place
What am I still missing?

David


On 03/06/2018 09:59 PM, William Ferguson wrote:
> The easiest way, IMHO, to get the scripts and keep them up to date is
> 
> cd ~/.config/darktable
> git clone https://github.com/darktable-org/lua-scripts.git
> mv lua-scripts lua
> 
> Then, when you want to update
> 
> cd ~/.config/darktable/lua
> git pull
> 
> 
> Regards,
> 
> Bill
> 
> On Tue, Mar 6, 2018 at 3:41 PM, August Schwerdfeger
> > wrote:
> 
> All of one's Lua scripts can be disabled by a single Lua error, so I
> would try updating to the current version of the
> 'selection_to_pdf.lua' script.
> 
> --
> August Schwerdfeger
> aug...@schwerdfeger.name 
> 
> On Tue, Mar 6, 2018 at 2:00 PM, David Vincent-Jones
> > wrote:
> 
> This is the cl feedback  there is no mention of the gimp.lua
> I am currently showing Lua version as 5.3.4 ... appears to be
> the latest.
> 
> david@carbon:~> darktable -d lua
> [imageop_init_presets] updating 'basecurve' preset 'fujifilm
> like' from
> version 4 to version 5
> LUA ERROR API Version: 5.0.0
> LUA ERROR :
> /home/david/.config/darktable/lua/selection_to_pdf.lua:39:
> Module selection_to_pdf is not compatible with API 5.0.0
> 
> David
> 
> On 03/06/2018 03:40 PM, Patrick Shanahan wrote:
> > * David Vincent-Jones  > [03-06-18 09:28]:
> >> For some reason my Lua scripts are not showing as export options.
> >>
> >> With Gimp (for example) the 'require "official/gimp" ' entry does 
> exist
> >> and is correctly located in the ~/.config/darktable/luarc file.  
> None of
> >> the other Lua options are also showing.    What am I missing?
> >
> > did you start dt from the cl to see what you are missing?
> >   darktable -d lua
> >
> >
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 
> 
> 
> 
> 
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 
> 
> 
> 
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Lua Export

2018-03-07 Thread David Vincent-Jones
Thank you Bill;
I was confused ... the documentation indicates that the 'official'
scripts are 'maintained by the darktable community', I had incorrectly
assumed that they would be updated as a part of the automatic process. I
now know better.
David

On 03/06/2018 09:59 PM, William Ferguson wrote:
> The easiest way, IMHO, to get the scripts and keep them up to date is
> 
> cd ~/.config/darktable
> git clone https://github.com/darktable-org/lua-scripts.git
> mv lua-scripts lua
> 
> Then, when you want to update
> 
> cd ~/.config/darktable/lua
> git pull
> 
> 
> Regards,
> 
> Bill
> 
> On Tue, Mar 6, 2018 at 3:41 PM, August Schwerdfeger
> > wrote:
> 
> All of one's Lua scripts can be disabled by a single Lua error, so I
> would try updating to the current version of the
> 'selection_to_pdf.lua' script.
> 
> --
> August Schwerdfeger
> aug...@schwerdfeger.name 
> 
> On Tue, Mar 6, 2018 at 2:00 PM, David Vincent-Jones
> > wrote:
> 
> This is the cl feedback  there is no mention of the gimp.lua
> I am currently showing Lua version as 5.3.4 ... appears to be
> the latest.
> 
> david@carbon:~> darktable -d lua
> [imageop_init_presets] updating 'basecurve' preset 'fujifilm
> like' from
> version 4 to version 5
> LUA ERROR API Version: 5.0.0
> LUA ERROR :
> /home/david/.config/darktable/lua/selection_to_pdf.lua:39:
> Module selection_to_pdf is not compatible with API 5.0.0
> 
> David
> 
> On 03/06/2018 03:40 PM, Patrick Shanahan wrote:
> > * David Vincent-Jones  > [03-06-18 09:28]:
> >> For some reason my Lua scripts are not showing as export options.
> >>
> >> With Gimp (for example) the 'require "official/gimp" ' entry does 
> exist
> >> and is correctly located in the ~/.config/darktable/luarc file.  
> None of
> >> the other Lua options are also showing.    What am I missing?
> >
> > did you start dt from the cl to see what you are missing?
> >   darktable -d lua
> >
> >
> 
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 
> 
> 
> 
> 
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
> 
> 
> 
> 
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org