Re: [darktable-user] darktable 4.8.0 released

2024-06-25 Thread William Ferguson
On Tue, Jun 25, 2024 at 7:40 PM Bruce Williams  wrote:

> Pascal,
> I was just having a conversation about this very topic with Chris.
> Who took the stance that developers can submit new features/modules/etc
> WITHOUT providing documentation?
>

I think up a module that will turn an "a" into a "b".  You have to push
this, pull that, twist something, etc, etc, etc.  I start writing the
module and  realize
I made some bad assumptions, counted on things to work differently than
they do, etc, etc, etc.  In the end I have a module that takes an "a" and
turns it into a "b"
but to make it work you kick this, shove that, etc.  Then I submit a PR so
that others can test my new module.  Someone does something that I didn't
think of and
then I change the behavior again. And another bug is found, etc, etc, etc.
At the end of this journey I have a working module that turns an "a" into a
"b".  It looks and
works differently than I thought it would.   At this point, I can document
the module because it's in its final form.  If I documented at the start,
the documentation
wouldn't match the software.

There are ~20 developers and probably less than half are native English
speakers.  There are 2 darktable manual maintainers.  Feature freeze is 30
days before release.
Bug fixing continued up until the release tarballs were created and 4.8.1
already has multiple fixes in it.

We need more people helping with the documentation. Want to sign up?

That seems like such an odd stance to take.
>

That we want to correctly document the way the software actually works?

Apologies if it sounds like I'm trying to stir up trouble... not my
> intention!
> Just trying to understand why the maintainer (whoever that might be) would
> allow new software to be released to the public without supporting
> documentation.
>

Most open source projects have just a readme file.  I don't recall
documentation being stressed prior to Mica and Chris taking over the
manual, but now it is.
So in some ways we're better, but we have lots of room for improvement.

Bill

Cheers.
>
>
> -- Forwarded message -
> From: Pascal Obry 
> Date: Wed, Jun 26, 2024 at 6:22 AM
> Subject: Re: [darktable-user] darktable 4.8.0 released
> To: Willy Williams , <
> darktable-user@lists.darktable.org>
>
>
> Le mardi 25 juin 2024 à 10:05 -0400, Willy Williams a écrit :
> > Have to ask - when will the manual accompanying v4.8.0 be released,
> > or am I once again looking in the wrong place?
>
> You are at the right place and the answer is easy... when it is done.
>
> If you want to help, please contact the doc maintainers.
>
> Thanks,
>
> --
>   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 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] Feature idea : DTtimelapse ? (similar to LRtimelapse in essence) part 2

2024-06-21 Thread William Ferguson
It seems the old thread reached the max size and can't be posted to any
longer.

For those interested in the external (XMP) approach, this might be of
interest, https://github.com/dterrahe/darktable/pull/28


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

[darktable-user] script_manager user interface change

2024-06-09 Thread William Ferguson
Please see
https://discuss.pixls.us/t/script-manager-new-ui-for-darktable-4-8/43929/1


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

Re: [darktable-user] Feature idea : DTtimelapse ? (similar to LRtimelapse in essence)

2024-04-18 Thread William Ferguson
On Thu, Apr 18, 2024 at 6:39 AM Jochen Keil  wrote:

> Hi Martin,
>
> The exposure module offers an "automatic" mode which works reasonably well
> but in my experience there are outliers that need manual correction. Apart
> from exposure flicker I've also noticed what I call "White Balance
> Flicker". That usually happens with changing light situations (sunrise /
> sunset) when the camera tries to adjust the white balance automatically. Of
> course one could set the white balance to a fixed value but there's no WB
> that fits daylight and night, which means you need WB ramping.
>

You could use color calibration and set a keyframe with the correct color
calibration for day and then another for night then just read them, compute
the difference and apply them.

I tried the auto exposure and thought it provided a good starting point (at
least better than I could achieve with my extremely limited timelapse
processing skills.  Apply the auto exposure and then add another exposure
module above that could be adjusted for fine tuning.

>
> The color calibration tool offers a functionality that's a bit in the
> right direction: You can set a target from another image and use it to
> adjust other pictures based on it. Works well, but there's no automation. I
> helped myself with xdotool (a program for key macros) but that's clunky.
>
> As you suggest, it's possible, just not very streamlined and
> straightforward.
>
> Cheers!
>
>
>
> On Wed, Apr 17, 2024 at 9:35 PM Martin Straeten 
> wrote:
>
>> with recent darktable there can be a further approach: using exposure and
>> color mapping.
>> These functions might support setting of smooth transitions for exposure
>> as well as color calibration based on keyframes
>>
>> Am 17.04.2024 um 19:08 schrieb William Ferguson :
>>
>> 
>> The issue here is that we are trying to solve a darktable problem with a
>> lightroom solution.  If we approach it from a darktable perspective, then
>> we are looking at (probably) less than 100 lines of lua code and 30 minutes
>> worth of work.
>>
>> Using lua I can load an image into darkroom and read or modify the
>> exposure setting.
>>
>> So, if I go through and pick my "key frames", adjust the exposure, then
>> assign a keyframe tag I can run a script that:
>> * selects the images that are keyframes, loads each one sequentially, and
>> reads and stores the exposure information
>> * loads each image in the collection and
>> -- determines the limiting keyframes
>> -- computes the exposure difference
>> -- applies the exposure difference
>> -- loads the next image after the pixelpipe completes.
>>
>> Advantages of this approach
>> * No decoding, extrapolating, interpolating, guessing, etc of XMP files
>> * Don't have to scan for updated XMP files when starting darktable
>> * No worries about XMP file corruption
>> * No worries about database corruption from loading a bad XMP
>> * Don't have to worry about XMP format changes
>> * If the collection gets messed up, you simply select all, discard the
>> history stacks and you've recovered.
>> * You're not limited to just modifying exposure
>>
>> Disadvantages:
>> * It's slower.  It has to load each image into darktable and process it.
>>   I tested loading images and changing the exposure and IIRC darktable
>>   processed roughly 2 images/sec.  The images were on an SSD.
>>
>> Bill
>>
>> On Wed, Apr 17, 2024 at 11:04 AM Jochen Keil 
>> wrote:
>>
>>> Hi Sébastien,
>>>
>>> I wrote dtlapse back then and I'm happy to see that there's still
>>> interest in it. Unfortunately, due to time constraints I cannot put much
>>> work into it. Therefore, in its current state it's pretty unusable, since
>>> darktable evolves faster than I can keep up.
>>>
>>> The basic functionality is very close to what you describe. Pick some
>>> keyframes, adjust them as desired and interpolate the values in between.
>>> This can be done by using the XMP files as interface, once you get around
>>> decoding the module parameters. That's all in dtlapse and worked pretty
>>> well for its rather hackish state.
>>>
>>> However, the biggest problem is that modules tend to change regularly,
>>> which means that you have to manually adapt the interface description for
>>> every new darktable release while keeping old versions for compatibility.
>>> I've made it somewhat easy to update XMP interface descriptions by moving
>

Re: [darktable-user] Feature idea : DTtimelapse ? (similar to LRtimelapse in essence)

2024-04-18 Thread William Ferguson
On Thu, Apr 18, 2024 at 6:15 AM Jochen Keil  wrote:

> Hi Bill,
>
> when I started to work on dtlapse it was not possible to modify module
> parameters through the LUA interface, that might have changed.
>
darktable.gui.action() was added to the API allowing manipulation of the
darkroom modules among other things

>
> On Wed, Apr 17, 2024 at 7:08 PM William Ferguson 
> wrote:
>
>> The issue here is that we are trying to solve a darktable problem with a
>> lightroom solution.  If we approach it from a darktable perspective, then
>> we are looking at (probably) less than 100 lines of lua code and 30 minutes
>> worth of work.
>>
>> Using lua I can load an image into darkroom and read or modify the
>> exposure setting.
>>
>> So, if I go through and pick my "key frames", adjust the exposure, then
>> assign a keyframe tag I can run a script that:
>> * selects the images that are keyframes, loads each one sequentially, and
>> reads and stores the exposure information
>> * loads each image in the collection and
>> -- determines the limiting keyframes
>> -- computes the exposure difference
>> -- applies the exposure difference
>> -- loads the next image after the pixelpipe completes.
>>
>> Advantages of this approach
>> * No decoding, extrapolating, interpolating, guessing, etc of XMP files
>>
>
> You'll still need an extrapolation or interpolation algorithm to generate
> the values between the keyframes. That's simple though, at least with
> Python. LUA probably offers similar libraries
>
My reference to extrapolation and interpolation was regarding decoding the
XMP :)

>
>
>> * Don't have to scan for updated XMP files when starting darktable
>> * No worries about XMP file corruption
>>
>
> That's why I've made the recommendation to not work with dtlapse and
> darktable in parallel :)
>
>
>> * No worries about database corruption from loading a bad XMP
>>
>
> Another recommendation would to use darktable's `--library :memory:`
> option, bypassing the DB (which makes sense in another way: hundreds of
> timelapse photos will a) clutter your library b) hinder performance)
>

>
>> * Don't have to worry about XMP format changes
>> * If the collection gets messed up, you simply select all, discard the
>> history stacks and you've recovered.
>> * You're not limited to just modifying exposure
>>
>> Disadvantages:
>> * It's slower.  It has to load each image into darktable and process it.
>>   I tested loading images and changing the exposure and IIRC darktable
>>   processed roughly 2 images/sec.  The images were on an SSD.
>>
>
> That's actually reasonable. 1000 images in less than 10 minutes. That's
> just a fraction of the time necessary for a complete and proper timelapse
> workflow if you add in some video post production (music, zooming, panning,
> etc).
>

Confession Time

 I said 100 lines of code and 30 minutes.  It took 45 minutes, but I only
had to write ~60 lines of code and steal another 100 from other scripts. :D

I know almost nothing about timelapse photography or processing.  I googled
what settings to use and then shot a 99 image timelapse so I would have a
dataset to test with.

I used 17 keyframes to adjust the exposure.  With another script running
that generates a new thumbnail for each processed image I processed the 99
image timelapse in 90 seconds.  Without the background thumbnail script the
time dropped to 80 seconds.

My timelapse included ground and sky and a storm was coming.  The sky
exposure stayed fairly constant, but the ground exposure changed a lot as
the clouds moved.  Processing the timelapse with the script, I could have
an exposure module with a mask for just the ground portion and process just
that.  The full power of darktable is available to use.

So at this point I have a working proof of concept.  It's ugly, fragile,
etc, etc, etc...   We're approximately 30 days from feature freeze for
darktable so I won't have much time to play with this until darktable 4.8
is out.  I will try and get it to a point where it's not so fragile
(causing darktable to hang) and then throw it out for people to play with.


Bill

>
> Cheers!
>
>
>
>
>>
>> Bill
>>
>> On Wed, Apr 17, 2024 at 11:04 AM Jochen Keil 
>> wrote:
>>
>>> Hi Sébastien,
>>>
>>> I wrote dtlapse back then and I'm happy to see that there's still
>>> interest in it. Unfortunately, due to time constraints I cannot put much
>>> work into it. Therefore, in its current state it's pretty unusable, since
>>> darkt

Re: [darktable-user] Feature idea : DTtimelapse ? (similar to LRtimelapse in essence)

2024-04-17 Thread William Ferguson
The issue here is that we are trying to solve a darktable problem with a
lightroom solution.  If we approach it from a darktable perspective, then
we are looking at (probably) less than 100 lines of lua code and 30 minutes
worth of work.

Using lua I can load an image into darkroom and read or modify the exposure
setting.

So, if I go through and pick my "key frames", adjust the exposure, then
assign a keyframe tag I can run a script that:
* selects the images that are keyframes, loads each one sequentially, and
reads and stores the exposure information
* loads each image in the collection and
-- determines the limiting keyframes
-- computes the exposure difference
-- applies the exposure difference
-- loads the next image after the pixelpipe completes.

Advantages of this approach
* No decoding, extrapolating, interpolating, guessing, etc of XMP files
* Don't have to scan for updated XMP files when starting darktable
* No worries about XMP file corruption
* No worries about database corruption from loading a bad XMP
* Don't have to worry about XMP format changes
* If the collection gets messed up, you simply select all, discard the
history stacks and you've recovered.
* You're not limited to just modifying exposure

Disadvantages:
* It's slower.  It has to load each image into darktable and process it.
  I tested loading images and changing the exposure and IIRC darktable
  processed roughly 2 images/sec.  The images were on an SSD.

Bill

On Wed, Apr 17, 2024 at 11:04 AM Jochen Keil  wrote:

> Hi Sébastien,
>
> I wrote dtlapse back then and I'm happy to see that there's still interest
> in it. Unfortunately, due to time constraints I cannot put much work into
> it. Therefore, in its current state it's pretty unusable, since darktable
> evolves faster than I can keep up.
>
> The basic functionality is very close to what you describe. Pick some
> keyframes, adjust them as desired and interpolate the values in between.
> This can be done by using the XMP files as interface, once you get around
> decoding the module parameters. That's all in dtlapse and worked pretty
> well for its rather hackish state.
>
> However, the biggest problem is that modules tend to change regularly,
> which means that you have to manually adapt the interface description for
> every new darktable release while keeping old versions for compatibility.
> I've made it somewhat easy to update XMP interface descriptions by moving
> them to JSON files separately from the code. Still, for every new release
> you have to reengineer the XMP file because they're not documented, at
> least last time I looked. Given the amount of modules (and even if you
> would limit yourself to the most interesting ones) it's tedious and by the
> time you're done a new release comes around the corner.
>
> I've had the idea to generate the interface description directly from the
> source code, but you'd need to use a C/C++ parser to get it. I've just
> checked the code and the XMP interface is STILL hardcoded in the modules.
>
> So, to sum it up, it can be done, but it's quite hard. It'd be much easier
> if the darktable developers would separate the XMP interface definition for
> each module from the code which would greatly increase interoperability and
> is good practice anyway (separate data from code). However, I think there's
> not much incentive for them to do it, it'd even be a rather elaborate
> redesign.
>
> Best,
>
>   Jochen
>
> On Wed, Apr 17, 2024 at 2:23 PM Sébastien Chaurin <
> sebastien.chau...@gmail.com> wrote:
>
>> omg thanks for that ! I knew somehow that I couldn't be the only one
>> thinking that it'd be great to have...
>>
>> I'll have a closer look at that repo.
>>
>> Thanks again.
>>
>> On Tue, 16 Apr 2024 at 13:48, Martin Straeten 
>> wrote:
>>
>>> Have a look at https://discuss.pixls.us/t/annoucement-of-dtlapse/19522
>>>
>>> Am 16.04.2024 um 09:59 schrieb Sébastien Chaurin <
>>> sebastien.chau...@gmail.com>:
>>>
>>> 
>>> Hello all,
>>>
>>> Have any one of you guys wondered about how hard it'd be to implement
>>> something similar to LRTimelapse ?
>>> For those of you not aware of what this is, it's an additional app that
>>> looks at xmp files from LR. It looks first within a folder with hundreds of
>>> pics for a timelapse (in real life), at those images with only 5 stars. In
>>> this exemple let's say we only have 5 images for our timelapse.
>>> Let's imagine that we only have 2 of those, the first and the last,
>>> rated 5 stars. and let's also assume there is only one module with one
>>> parameter that has changed : exposure.
>>> This app would look at the first 5 stars rated image and see the
>>> exposure value of +0.5, and the second with a value of +0.9 hypothetically.
>>> It would then look at how many images there are in between in the folder
>>> (those not rated 5 stars) and divide the difference of the current setting
>>> by the number of pics that sit in between these. 5 pics total minus the 2
>>> rated 5 stars leaves us

Re: [darktable-user] RL_out_sharp.lua output file

2024-01-05 Thread William Ferguson
On Fri, Jan 5, 2024 at 3:34 PM Patrick Shanahan  wrote:

> * Patrick Shanahan  [01-05-24 15:29]:
> >
> > any posibility of adding option to "RL_out_sharp.lua" for output file to
> > utilize the default darktable output file name or current variables?
> >
> > tks much for your contribution.
>
> and perhaps include exif data.
>

It's in the works, https://github.com/darktable-org/lua-scripts/pull/412.

>
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc
>
> 
> 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] DT 4.4.1 xmp madness

2023-07-17 Thread William Ferguson
You need to set the XMP files to be written after edit.  Writing them on
import just writes them once when the file is imported.

After you copy your XMP files to the other computer you need to make sure
check for updated xmp files is set so that they will be read when darktable
starts.

On Mon, Jul 17, 2023 at 8:57 PM GianLuca Sarto  wrote:

> I am here to learn and understand, but your advice shows you did not
> understand the problem.
>
> I stated that on the notebook, the edits are not copied to xmp.
>
> Do you know why this happens? please help me.
>
> This simply explains why, when I copy the xmp to the workstation, I
> cannot find my edits.
>
>
> On 17/07/23 21:39, Patrick Shanahan wrote:
> >
> > try importing the files where you changed the xmp files
> >
> > it is not "madness" but does require learning and understanding.
> >
>
> 
> 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] darktable windows insider program 7/16

2023-07-16 Thread William Ferguson
Since pixls.us is down for the moment, I'll just share this here.

Here's the link to the latest weekly build of darktable 4.5,
https://drive.google.com/file/d/1_rnrD4dV6vjwwSAfBll11RJeVdAWEPnL/view?usp=sharing
.


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

Re: [darktable-user] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread William Ferguson
I build it

On Tue, Jul 4, 2023, 12:00 AM Niranjan Rao  wrote:

> On 7/3/23 19:48, Patrick Shanahan wrote:
> > don't really know but would bet it is.  a simple proof would be to try
> it.
> >
> > warning, backup your library.db before trying as I believe 4.41
> library
> > is not backward compatible with 4.40.
>
> The question becomes where to get it from? OBS repository does not show
> it nor does Ubuntu updates. I don't expect Ubuntu updates to update as
> historically they haven't once stable release is released. But one could
> get binaries from OBS which seems not to be happening. Hence the question.
>
>
> Regards,
>
> Niranjan
>
>
> 
> 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] Darktable 4.4 on Ubuntu 22.04

2023-07-03 Thread William Ferguson
I'm running 4.4.1  and 4.5 on 22.04 without any problems

On Mon, Jul 3, 2023 at 10:49 PM Patrick Shanahan  wrote:

> * Niranjan Rao  [07-03-23 21:53]:
> > Greetings,
> >
> >
> > It's not clear to me if latest release of darktable is supported on
> 22.04.
> > Opensuse OBS repository shows darktable 4.4 only for 23.04. Is it
> supported
> > on Ubuntu 22.04?
>
> don't really know but would bet it is.  a simple proof would be to try it.
>
>warning, backup your library.db before trying as I believe 4.41 library
>is not backward compatible with 4.40.
>
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc
>
> 
> 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] Move problem

2023-04-28 Thread William Ferguson
On Fri, Apr 28, 2023 at 12:44 PM David Vincent-Jones 
wrote:

> dt ver: 4.3.0+2013~gb34dbcf310 ... Manjaro/Arch/XFCE
>
> The 'move' function does not appear to be working. I tried to move both
> single and multiple images. The processing steps all appear to work as
> normal but nothing happens and the files remain in their current/old
> location.
>
> Would others please check if they are also seeing the same problem.
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>

Works for me,  4.3.0+2027~g2b3d5ec05c

Bill


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



Re: [darktable-user] dt from repo / build

2022-08-17 Thread William Ferguson
On Wed, Aug 17, 2022 at 10:15 AM Jean-Luc 
wrote:

> Hello,
> And sorry for that maybe stupid questions, but...
> I currently run dt from repos, and all works fine though some stuff is not
> installed (especially tools like noise, profiling, etc.).
> On a second machine (not the one I use for processing my photos !), I
> compiled it using the instructions on those pages
> 
> .
> However, it seems that some files are not at the same places that those
> intalled from repos. Maybe it is something normal.
> My questions:
>
>1. is it possible (and safe ?) to force the installation in the exact
>same location that the offical packages ? How ?
>
> You can do it.  I would remove the official packages first.  When you
build specify /usr as the installation prefix

>
>1.
>2. I found there is no stable branch, just master and numbered.
>
> master is the current branch that all changes are merged to.  There is no
stable branch since darktable is not a rolling release.
releases are tagged so that they can be checked out and built.

>
>1. If I type
>git clone --branch latest --recurse-submodules --depth 1
>https://github.com/darktable-org/darktable.git
>it will fail, however
>git clone --branch master --recurse-submodules --depth 1
>https://github.com/darktable-org/darktable.git
>will work. No possibility to get something else than master ?
>
> git checkout release-4.0.0
git submodule update

This checks out the versions of the submodules used to build release-4.0

>
>1. In the same kind of things, a little further one can find
>git checkout tags/release-4.0.0
>which seems to only work with numbering, even master is not recognized
>('tags/release-master' does not correspond to any file known by git
>[translated from french]).
>What does this deserve ?
>
> git checkout master takes you back to master.  Just do a git submodule
update after you change back.

>
>
> Sorry for all those questions, but I am trying to understand how things
> work for this project, as it seems the commuters differ slightly from
> others.
>
> Thanks,
>
> J.-Luc
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>

Bill


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

Re: [darktable-user] Is it possible to configure Information in Metadata Dialoque

2022-07-05 Thread William Ferguson
There is a way to display specific metadata tags that aren't normally
displayed, using a lua script.

On Tue, Jul 5, 2022 at 6:19 PM frieder  wrote:

> Thank everybody for the replies, it worked.
> Greets
> Fred
>
> Am Dienstag, dem 05.07.2022 um 11:55 -0400 schrieb Willy Williams:
>
> Suggest that you look at section 8.3.5.8 (metadata editor) in The Fine
> Manual, p. 218.
>
> Willy
>
> *
> On 7/5/2022 at 10:36, frieder wrote:
>
> Hallo,
>
>
> There is the metadata-Dialoque, the image information toolbox, in light table 
> and in darkroom.
>
> It displays lots of information not relevant for me (image size etc)
>
> And some Exif-Tags I would like to see are not present.
>
>
> Is it possible to confiqure which metadata is displayed?
>
> If yes- how? or is there already a tutorial?
>
>
> thanks, a lot,
>
> Fred.
>
>
> PS: I mean this what is explained here:
>
> https://youtu.be/mwiOEG-AJLE?list=PLlYWvzmJQTrRq7JrYdD7k3-8-v-uHnhK_&t=2652
>
>
>
> 
>
> 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 AutoGrouper

2022-02-20 Thread William Ferguson
Could you please raise an issue at
https://github.com/darktable-org/lua-scripts?

Thanks,

Bill

On Sun, Feb 20, 2022 at 5:37 AM Frank J.  wrote:

> Am 19.02.22 um 18:15 schrieb Patrick Shanahan:
>
> * Frank J.  [02-19-22 12:07]:
>
> Does the Lua-Script "AutoGrouper" work with DT 3.8.1? (on Linux Ubuntu
> 20/04)
>
> I used AutoGrouper with DT 3.6. Just found, that the "Auto Group"-Tab is
> missing in the Lighttable in DT 3.8.1.
>
> ...
>
> my AutoGrouper.lua on master is dtd 1 Sept
>
>
> ...
>
> Master has changed on 31 Aug 2021:
>
>
> https://github.com/darktable-org/lua-scripts/blob/master/contrib/AutoGrouper.lua
>
> This Version ist installed, but it does'nt work for me.
>
> Is there an additional config to show the tab?
>
>
> Frank
>
> 
> 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] Is there a Darktable 3.9 package for windows?

2022-02-18 Thread William Ferguson
I add a new topic each Sunday night (US, eastern time) that includes the
latest merges, so the next topic will be darktable windows insider program
2/20

On Fri, Feb 18, 2022 at 11:48 PM Terry Pinfold  wrote:

> Thanks for this. Will this link work each week and how often are new
> builds released?
>
> On Sat, 19 Feb 2022 at 15:06, William Ferguson 
> wrote:
>
>> https://discuss.pixls.us/t/darktable-windows-insider-program-2-13/29432
>>
>> On Fri, Feb 18, 2022 at 10:55 PM Terry Pinfold 
>> wrote:
>>
>>> Previously I was able to download V3.7 to test what was being developed
>>> for 3.8, so I am wondering if a 3.9 version for windows is available?
>>>
>>> --
>>>
>>>
>>> 
>>> 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
>>
>
>
> --
> Dr Terry Pinfold
> Cytometry Specialist
> Photography & Imaging Tutor
> Hobart, Tasmania, Australia
> Ph 0408 699053
>
>
>
> 
> 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] Is there a Darktable 3.9 package for windows?

2022-02-18 Thread William Ferguson
https://discuss.pixls.us/t/darktable-windows-insider-program-2-13/29432

On Fri, Feb 18, 2022 at 10:55 PM Terry Pinfold  wrote:

> Previously I was able to download V3.7 to test what was being developed
> for 3.8, so I am wondering if a 3.9 version for windows is available?
>
> --
>
>
> 
> 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 menu not showing

2022-01-25 Thread William Ferguson
August, David,

What OS and version please?

On Tue, Jan 25, 2022 at 11:57 AM August Schwerdfeger <
aug...@schwerdfeger.name> wrote:

> Darktable never seems to detect the version of Lua I have installed,
> either. When compiling, I always set it to use the internal version, by
> changing the 'build.sh' build script to append the switch
> '-DDONT_USE_INTERNAL_LUA=Off' to the 'CMAKE_MORE_OPTIONS' variable.
>
> --
> August schwerdfegeraug...@schwerdfeger.name
>
> On 1/25/22 10:38, Top Rock Photography wrote:
>
> I almost always compile darktable on my computer, and this time was no
> exception. I do have all the Lua executables, and all the Lua*-dev headers
> installed, yet, during compiling, I got the, “Lua not found” error. This is
> the first time that I am getting that error message in many years, and many
> versions.
>
> Since I do not typically use any add-ons or macros, I was not too worried
> about it, but it is obviously a problem for those who do. Something is
> causing the compiler to not detect Lua. My system is Ubuntu 2021.10.  I
> have both GCC 10 & 11 installed, but I think cmake/configure defaulted to
> version 10. I may be wrong about that. My Lua version is 5.4.3.
>
> It may be the OS, it may be the compiler, it may be compiler options. I
> did not make any attempt to fix the issue beyond ensuring that I did have
> all my Lua files installed. I suppose that I am of no help, save to let you
> know that you are not alone. 😉😊
>
> Sincerely,
>
> Karim Hosein
> Top Rock Photography
> 754.999.1652
>
>
>
> On Mon, 24 Jan 2022 at 17:14, David Vincent-Jones 
> wrote:
>
>> I think that I went through this problem a while ago but totally forgot
>> how it was solved.
>>
>> After a recent update of the git version I find that the Lua menu system
>> has 'vanished' although it is fully installed. Can somebody provide a hint
>> on this .. please.
>>
>> David
>>
>> 
>> 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] Re: split of Crop and Rotate to "Crop", and, "Rotate and Perspective" in 3.8

2021-12-30 Thread William Ferguson
In rotate and perspective you can choose original format instead of largest
area.  When you do that, you can click in the image and change the crop by
moving the mouse.  You may still need to do a final crop, but I find a lot
of the time I can get a satisfactory crop doing this.

On Thu, Dec 30, 2021 at 8:50 AM Bernhard 
wrote:

> Technically it's understandable that this is separated and grouped as is.
> Neither crop nor flip/rotate do any recalculation of pixel values, they
> just reorder them (rotate/flip) or throw some of them away (crop).
>
> So as is: rotate freely (any angle) is technically the same as perspective
> correction: you have to take every pixel and it's surrounding and
> recalculate new values with rounding errors and interpolations and ...
>
> Perhaps you may configure quick access group to your needs ...
>
> --
>
> regards
> Bernhard
>
> https://www.bilddateien.de
>
> Willy Williams schrieb am 30.12.21 um 14:06:
> >
> > I, too, find the separation of crop, rotate and perspective rather
> difficult to justify.  From my perspective of doing architectural and real
> estate photography, I'd prefer to have them all in a single module, not
> separated by retouch and exposure in the v3.0 RAW module order.
> >
> > Willy Williams
> >
> > 
> >
> > On 12/30/2021 at 07:36, Archie Macintosh wrote:
> >> On Thu, 30 Dec 2021 at 11:26, Andrew Greig 
> wrote:
> >>
> >> I gave this a red hot go out of respect for the developers, but I
> miss having Crop and rotate in the one module because I have to perform
> those two operations in almost every shot...
> >>
> >> 
> >>
> >> I have to agree with Andrew: crop and rotate are operations I routinely
> use together – I almost never bother with perspective – so I, too, would
> prefer them to be together in a single module. (I can, of course, see that
> this preference is related to the kind of photography I do, and may not
> suit everyone.)
> >>
> >> (And this observation does not detract from my immense respect for, and
> gratitude to, the developers, for all their amazing work.)
> >>
> >>
> 
> 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] How big is too big for library size

2021-12-29 Thread William Ferguson
I currently have 402K+ images in my library.  It's on linux

On Thu, Dec 30, 2021 at 1:01 AM Terry Pinfold  wrote:

> Hi all,
> being impressed with the Version 3.8 improvements in searching the
> library for folders and images taken on certain dates and in various
> locations I decided to import over 40,000
>  images into the library. Darktable handled it really well, but today I
> went to add a new image to the library and Darktable appeared to freeze. I
> am using a Windows 10 computer. Have I been too ambitious? Any advice
> appreciated.
> --
>
>
> 
> 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] Spot removal gone in 3.6 - ouch!

2021-10-28 Thread William Ferguson
The spot removal tool is still there, it's just been deprecated.  You can
use the module search to find it.  Enable it and create a style with it,
then you can apply the style anytime you need the spot removal module

On Fri, Oct 29, 2021 at 1:00 AM Andrew Greig  wrote:

> Hi All,
>
> I have just moved to DT 3.6 Ubuntu 20.04 LTS and I miss the Spot removal
> tool. Please re-instate it. Some, mistakenly, I believe, consider the
> Retouch module to be superior in function to the spot removal tool. That
> is not true, retouch is not superior it just does a different job. When
> the spot removal tool was the only retouch tool I used it for
> retouching, but I switched that operation to the retouch module when it
> arrived. And I continued to use the spot removal tool where I did not
> want to have content awareness messing with the removal I needed. For
> those who shoot landscapes use retouch, for skin repair use retouch, but
> for getting rid of light stand legs near a model on a black background
> in a studio only the spot removal tool can do it quickly and cleanly.
> They are clearly different tools, please return the Spot Removal module,
> its absence will cost me countless hours of work.
>
> Andrew Greig
> Melbourne Australia
>
> 
> 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] Filter pictures taken with flash

2021-09-23 Thread William Ferguson
On Thu, Sep 23, 2021 at 11:20 AM Bernhard 
wrote:

> I checked the darktable database and could not find an entry of that
> EXIF field in the database itself - that means that there is no native
> way to do this in dt directly.
> So I assume that Bill as "master of lua" had something in mind like a
> lua-script working e. g. with exiftool to filter the required images and
> perhaps show them in lighttable (?).
>
This is now my plan B, since plan A (below) doesn't seem to be working

> But that's nothing I can help any further with any details.
>
> Michael Jacobs schrieb am 23.09.21 um 14:07:
> > Anyone a hint on this ?
>
I had an idea about interacting with the metadata view part of the code,
but the hook that is there doesn't seem to be working so there may be a bug
to fix.

> > Michael
> >
> > On Mon, 20 Sept 2021 at 18:28, William Ferguson 
> > wrote:
> >
> >> The short answer is yes.  The long answer is I have to remember how to
> do
> >> it :).
> >>
> >> Bill
> >>
> >> On Mon, Sep 20, 2021 at 3:23 AM Michael Jacobs <
> michael.jac...@scarlet.be>
> >> wrote:
> >>
> >>> Hi,
> >>> Is there anyway to select pictures taken with flash ?
> >>> I can't find any option in metadata or capture details.
> >>> Brgds,
> >>> Michael
> >>>
>
> --
>
> regards
> Bernhard
>
> https://www.bilddateien.de
>
>
> 
> 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] Filter pictures taken with flash

2021-09-20 Thread William Ferguson
The short answer is yes.  The long answer is I have to remember how to do
it :).

Bill

On Mon, Sep 20, 2021 at 3:23 AM Michael Jacobs 
wrote:

> Hi,
> Is there anyway to select pictures taken with flash ?
> I can't find any option in metadata or capture details.
> Brgds,
> Michael
>
> 
> 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] dt 3.6.0.1?

2021-07-21 Thread William Ferguson
The version didn't change, just the packaging  (3.6.0 was missing lua)

On Wed, Jul 21, 2021 at 7:46 PM Willy Williams 
wrote:

> Just noticed that there is a darktable v3.6.0.1 for Windows on GitHub,
> downloaded and installed it.  In checking the version number after
> installation, it still shows v3.6.0, not 3.6.0.1.  Is this an issue with
> this release?
>
>
> Willy Williams
>
> --
>
>  "You don't take a photograph.  You ask quietly and humbly to borrow it."
>
>  - Unknown
>
> --
>
>
> 
> 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] Installing darktable on Ubuntu 18.04

2021-07-15 Thread William Ferguson
I build and run on 18.04 multiple times per day without a problem.

Bill


On Thu, Jul 15, 2021 at 1:15 PM Chris Albertson 
wrote:

> Question.   Does DT have so many dependencies that it can't be built on
> Ubuntu 18?
>
> What about running a docker image?  That should allow you to run software
> that needs Ubuntu 20 on your Ubuntu 18 PC.
>
> On Thu, Jul 15, 2021 at 9:44 AM Niranjan Rao  wrote:
>
>> This is my work machine. There are multiple reasons why this machine can
>> not upgraded yet. Like many other organizations, we have a plan to update
>> many other servers  and other desktops on 18.04. With luck might even
>> finish it before 22.04 rolls out, at least we don't have 16.04 any more.
>>
>> Home machine, I have no problem, but when I get some free time, I like to
>> play with images at work also.
>> On 7/14/21 3:16 PM, Willy Williams wrote:
>>
>> Niranjan,
>>
>> darktable 3.6 is available for Ubuntu 20.04, if you want to update
>> your O/S.
>>
>> Willy Williams
>>
>> **
>> On 7/14/2021 at 18:04, Niranjan Rao wrote:
>>
>> Greetings,
>>
>>
>> Site
>> https://software.opensuse.org/download.html?project=graphics:darktable&package=darktable
>> does not list 18.04. Is there any other way of installing version 3.6 on
>> Ubuntu 18.04?
>>
>>
>> Regards,
>>
>>
>> Niranjan
>>
>> 
>>
>> 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
>>
>
>
> --
>
> Chris Albertson
> Redondo Beach, California
>
> 
> 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] Applying sidecars

2021-07-08 Thread William Ferguson
You have to use a different configdir, i.e. darktable --configdir
$HOME/.config/darktableother

On Thu, Jul 8, 2021 at 8:29 PM Niranjan Rao  wrote:

> Hello,
>
> Is there any way to run two instances of darktable. I have two monitors
> and its much easier for me to check the style in one instance as
> reference and experiment with other.
>
> I can keep switching back and forth between images, but that's little
> cumbersome especially since film rolls are different. I tried firing
> another instance from terminal and specified different data directory,
> but it kept complaining about locks or sometimes just hangs
>
> darktable --datadir /tmp/dt
>
> Regards,
>
> Niranjan
>
> On 7/8/21 1:29 PM, KOVÁCS István wrote:
> > On Thu, 8 Jul 2021 at 20:52, Niranjan Rao  wrote:
> >> darktable version 3.4.1
> > 3.6 is now out, give it a spin if you can!
> >
> >> I'm struggling with applying the sidecars - xmp files.
> > Guillermo has already answered that, but there's a non-trivial feature
> > (documented, but not realised by many): darktable, by default, saves
> > the history stack into the exported JPG, and it can actually load the
> > history stack from such a JPG. The procedure is the same as with the
> > XMP, but you need to change the selector in the Open dialogue from
> > *.xmp to 'All files', and select the JPG file.
> > Also, if you're after a 'look', if perfectly fine to apply any history
> > stack to any image, even if it's a different camera -- just reset the
> > input colour profile to use the values for your camera.
> >
> > Kofa
> >
> 
> > 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] Lua changes for darktable 3.6

2021-07-01 Thread William Ferguson
A post detailing the lua changes for darktable 3.6 is at
https://discuss.pixls.us/t/lua-updates-for-darktable-3-6/25686


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

Re: [darktable-user] Comparison selection gives wrong pictures

2021-06-10 Thread William Ferguson
I tried it and can reproduce.  I selected 2 images, then moved my mouse
over a different image.  When I pressed X, the image under the mouse cursor
and the one next to it appeared in culling mode.  Does that sound like what
happened to you?

On Thu, Jun 10, 2021 at 3:07 PM  wrote:

> Hi!
>
>
>
> I’m culling 2 pics. I expect the 2 selected photos to open next to each
> other, but the selection doesn’t correspond with the result.
>
>
>
> Version: 3.4.1.1.
>
>
>
> Hartelijke groet,
>
> Hieke van Hoogdalem
>
>
>
>
>
> *Van:* William Ferguson 
> *Verzonden:* donderdag 10 juni 2021 21:04
> *Aan:* hieke.vanhoogda...@gmail.com
> *CC:* darktable-user 
> *Onderwerp:* Re: [darktable-user] Comparison selection gives wrong
> pictures
>
>
>
> Hi Hieke,
>
>
>
> A little more information would be helpful.  What version of darktable are
> you using.  What did you expect to happen when you pressed X?  I'm assuming
> that it's set up as a shortcut to do something, but I'm not sure what.
>
>
>
> Thanks,
>
>
>
> Bill
>
>
>
> On Thu, Jun 10, 2021 at 2:53 PM  wrote:
>
> Hi!
>
>
>
> Today I had a photoshoot. I’m now comparing different photos that are
> almost the same, selecting 2 images and pressing X on my Windows 10
> machine. The weird thing is: the selection is incorrect; it gives the
> second picture of the selection and the one that follows but was not
> selected. I tried to close and open DT, but that didn’t solve the problem.
>
>
>
> Any ideas about how to fix this? I can select the wrong ones, but when I
> have to compare the 2 top images, that won’t work. And it’s not ideal to
> have think about what to select to get the right result.
>
>
>
> Kind regards,
>
> Hieke van Hoogdalem
>
>
>
>
>
>
> 
> 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] Comparison selection gives wrong pictures

2021-06-10 Thread William Ferguson
Hi Hieke,

A little more information would be helpful.  What version of darktable are
you using.  What did you expect to happen when you pressed X?  I'm assuming
that it's set up as a shortcut to do something, but I'm not sure what.

Thanks,

Bill

On Thu, Jun 10, 2021 at 2:53 PM  wrote:

> Hi!
>
>
>
> Today I had a photoshoot. I’m now comparing different photos that are
> almost the same, selecting 2 images and pressing X on my Windows 10
> machine. The weird thing is: the selection is incorrect; it gives the
> second picture of the selection and the one that follows but was not
> selected. I tried to close and open DT, but that didn’t solve the problem.
>
>
>
> Any ideas about how to fix this? I can select the wrong ones, but when I
> have to compare the 2 top images, that won’t work. And it’s not ideal to
> have think about what to select to get the right result.
>
>
>
> Kind regards,
>
> Hieke van Hoogdalem
>
>
>
>
>
> 
> 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] Export Mode

2021-06-01 Thread William Ferguson
If you click the hamburger menu in the export module and select
preferences, then I think you can specify what data gets exported.

On Tue, Jun 1, 2021 at 10:12 PM David Vincent-Jones 
wrote:

> That makes sense Bill if I am trying to apply a special export-style but
> all I am trying to do is have the exported file contain the camera EXIF
> data and almost nothing is being attached.
>
> David
> On 2021-06-01 6:44 p.m., William Ferguson wrote:
>
> Mode is grayed out because you haven't specified a style to be applied on
> export.  Specify a style, then mode will either be append history or
> replace history.
>
> On Tue, Jun 1, 2021 at 8:46 PM David Vincent-Jones  
> 
> wrote:
>
>
> Thank you for the explanation Jack ... I have not edited the CMakeOptions
> but I must assume that was, I think, done recently to ensure that the
> Script-Manager was working correctly using the required Lua version.
>
> Now, I still need to find out what is going on with the grayed-out
> export-mode. There is of course a possibility that it is relying on another
> version of Lua!!
>
> David
> On 2021-06-01 5:00 p.m., Jack Bowling wrote:
>
> FYI, my compiles are also tagged dirty because I have edited CMakeOptions
> to use the included lua version rather than that supplied by my system. You
> need to make absolutely no changes to get rid of the dirty tag but having a
> dirty compile does not mean that you are automatically risking breakage.
>
> Jack
>
> On 2021-06-01 4:46 p.m., David Vincent-Jones wrote:
>
> Despite the output from --version ... I am in fact running dt-git 3.50
> r2218
>
> On 2021-05-31 10:10 a.m., Patrick Shanahan wrote:
>
> * David Vincent-Jones   
>   [05-31-21
> 13:00]:
>
>   darktable 3.5.0+2391~g0aaee290bb-dirty ... Manjaro/Arch/XFCE.
>
> The export-mode appears to be grayed-out in this version and EXIF data is
> almost non-existent (date and rating only)
>
> Can others confirm?
>
> I do not see that but you *are* running "-dirty", so all bets are off.
>
>
> 
>
> darktable user mailing list
> to unsubscribe send a mail todarktable-user+unsubscr...@lists.darktable.org
>
>
> 
>
> darktable user mailing list
> to unsubscribe send a mail todarktable-user+unsubscr...@lists.darktable.org
>
>
> 
> darktable user mailing list to unsubscribe send a mail 
> todarktable-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] Export Mode

2021-06-01 Thread William Ferguson
Mode is grayed out because you haven't specified a style to be applied on
export.  Specify a style, then mode will either be append history or
replace history.

On Tue, Jun 1, 2021 at 8:46 PM David Vincent-Jones 
wrote:

> Thank you for the explanation Jack ... I have not edited the CMakeOptions
> but I must assume that was, I think, done recently to ensure that the
> Script-Manager was working correctly using the required Lua version.
>
> Now, I still need to find out what is going on with the grayed-out
> export-mode. There is of course a possibility that it is relying on another
> version of Lua!!
>
> David
> On 2021-06-01 5:00 p.m., Jack Bowling wrote:
>
> FYI, my compiles are also tagged dirty because I have edited CMakeOptions
> to use the included lua version rather than that supplied by my system. You
> need to make absolutely no changes to get rid of the dirty tag but having a
> dirty compile does not mean that you are automatically risking breakage.
>
> Jack
>
> On 2021-06-01 4:46 p.m., David Vincent-Jones wrote:
>
> Despite the output from --version ... I am in fact running dt-git 3.50
> r2218
>
> On 2021-05-31 10:10 a.m., Patrick Shanahan wrote:
>
> * David Vincent-Jones   [05-31-21
> 13:00]:
>
>   darktable 3.5.0+2391~g0aaee290bb-dirty ... Manjaro/Arch/XFCE.
>
> The export-mode appears to be grayed-out in this version and EXIF data is
> almost non-existent (date and rating only)
>
> Can others confirm?
>
> I do not see that but you *are* running "-dirty", so all bets are off.
>
>
> 
>
> 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] Print output image identification

2021-05-30 Thread William Ferguson
On Sun, May 30, 2021, 4:09 PM David Vincent-Jones 
wrote:

> The script of Albin's was very useful ... will give it a try.
>
> Certainly it would be a useful addition to the script-manager .
>

It's a bash script, so we can't deal with it directly from script_manager
but we can certainly take the idea and build a lua script that does
something similar but with access to the darktable variables and is cross
platform.

> David
> On 2021-05-30 1:36 a.m., Pascal Obry wrote:
>
> I kind of remember a lua script doing exactly that. I'm away from any
> computer to check for now.
>
> Le dim. 30 mai 2021 à 04:27, David Vincent-Jones  
>  a
> écrit :
>
>
> I am going to 'rough' print about 50 images as a preview to printing a
> book. They will be used for the final selection and also for placement and
> ordering.
>
> I am looking for a way to print a file identification on each piece ...
> such as the file name but I do not see anything in the print-manager or in
> the script-manager that would be of service.
>
> What are others doing in this respect?
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail 
> todarktable-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] Print output image identification

2021-05-29 Thread William Ferguson
You could use the watermark module to print the filename or whatever info
on the picture.  Set the watermark up as a style and apply the style on
export (in append mode).

On Sat, May 29, 2021 at 10:48 PM Patrick Shanahan  wrote:

> * David Vincent-Jones  [05-29-21 22:28]:
> > I am going to 'rough' print about 50 images as a preview to printing a
> book.
> > They will be used for the final selection and also for placement and
> > ordering.
> >
> > I am looking for a way to print a file identification on each piece ...
> such
> > as the file name but I do not see anything in the print-manager or in the
> > script-manager that would be of service.
> >
> > What are others doing in this respect?
>
>
> maybe gimp or imagemagick will provide such
>
> or perhaps a browser as firefox or
> image viewer as gwenview, ...
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
>
> 
> 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] Help needed with Canon CR2 pictures

2021-04-01 Thread William Ferguson
I'll shoot some sraws and mraws with my 7D and 7DmkII and submit the
updates.

On Thu, Apr 1, 2021 at 1:01 PM Martin Straeten 
wrote:

> Unfortunatly exiftools doesn’t give helpful hints: there’s also
> Average Black Level : 2048 2048 2048 2048
> But this results in massive clipping of the dark areas, losing a whole
> bunch of details.
> I also checked the raw.pixls.us image (
> https://raw.pixls.us/getfile.php/130/nice/Canon%20-%20EOS%207D%20-%20sRAW1%20(mRAW)%20(3:2).CR2)
> - unfortunately far away from being norm lit
> Setting black points 0-3 to about 118 -125 seems to give a most neutral
> result (based on the black keyboard )
> And it’s also fine for the OPs image, so maybe its a good initial value
> for tweaking ...
>
> Am 01.04.2021 um 17:17 schrieb William Ferguson :
>
> Just checked rawspeed and the values are 0 for black point.  You can use
> exiftool and look at the
> Average Black Level to get a good point.  For the full size raw it's
> 2048.
>
> On Thu, Apr 1, 2021 at 10:10 AM Martin Straeten 
> wrote:
>
>> No, the OP sent me a cr2 file so i could inspect it.  It seems to be a
>> invalid preset for raw blackpoint. This doesn’t affect the full raw, just
>> if sraw or mraw is used. There’re no proper blackpoint values provided.
>>
>> > Am 01.04.2021 um 14:50 schrieb KOVÁCS István :
>> >
>> > Since the OP said it mainly affects the shadows, are you sure it's
>> > because of highlight clipping?
>> >
>> 
>> > 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] News about darktable 3.6

2021-04-01 Thread William Ferguson
I believe so :-D

On Thu, Apr 1, 2021 at 11:23 AM Remco Viëtor 
wrote:

> On jeudi 1 avril 2021 17:03:27 CEST Michael Rasmussen wrote:
> > On Thu, 01 Apr 2021 16:49:05 +0200
> >
> > Pascal Obry  wrote:
> > > Some views have also been removed like Map, Tethering, Slideshow to
> > > keep the most important ones.
> >
> > Does this also means that the supporting code for tethering has been
> > removed?
> > If not, how do you then access tethering mode?
> Is the date of the original post important in any way?
>
> Remco
>
>
>
>
> 
> 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] Help needed with Canon CR2 pictures

2021-04-01 Thread William Ferguson
Just checked rawspeed and the values are 0 for black point.  You can use
exiftool and look at the
Average Black Level to get a good point.  For the full size raw it's 2048.

On Thu, Apr 1, 2021 at 10:10 AM Martin Straeten 
wrote:

> No, the OP sent me a cr2 file so i could inspect it.  It seems to be a
> invalid preset for raw blackpoint. This doesn’t affect the full raw, just
> if sraw or mraw is used. There’re no proper blackpoint values provided.
>
> > Am 01.04.2021 um 14:50 schrieb KOVÁCS István :
> >
> > Since the OP said it mainly affects the shadows, are you sure it's
> > because of highlight clipping?
> >
> 
> > 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] changing directory

2021-03-28 Thread William Ferguson
Why not set up /etc/fstab in linux so that your volumes always mount in the
correct/same place?

On Sun, Mar 28, 2021 at 4:41 PM Stéphane Gourichon <
stephane_darkta...@gourichon.org> wrote:

> IMHO none of those hacks would be necessary with a better design.
>
> ## Situation: huge database, irrelevant copies
>
> My photos are on a number of hard drives, that happen to get mounted (on
> Linux) on various locations, sometimes in /media, sometimes through network
> shares (various paths there, too). Database always showed many
> irrelevant/unreachable copies corresponding to paths where the hard drive
> happened to be mounted one day.
>
> ## Hack fix
>
> Due to these many copies that grew the database content a lot and make its
> content irrelevant, unusable, I totally gave up using the image library
> database at all: "darktable" on my machine is a script that runs the binary
> with "--library :memory:".
>
> ## Unsatisfactory fix
>
> What saved darktable is that the database is mostly a cache for data in
> xmp files. I open directories in darktable, which imports photos each time.
> Running with "--library :memory:" fixed the mess, but lost all ability to
> browse anything other than what was just opened.
>
> ## Suggestion: the best of both worlds
>
> Have "volume"-based library/ies, with a marker information at the root of
> the "darktable volume".
>
> For people familiar with git, current situation in darktable is as if git
> design wrote all administrative files (.git) in one central ~/.config/git
> because "well, you can browse all your git-managed information in one
> place, and you better make sure that your actual files always appear in the
> same path, else you'll be up for some maintenance, see options/hacks
> 1,2,3...". Those who knew SubVersion remember this kind of mess.
>
> Suggested situation looks like actual git design. Administrative files
> live in .git directory at *repository root*. With git you can access a git
> repository through whatever path it happens to be reachable, no
> constraints. It just works.
>
> With suggested situation in darktable, when you access a photo collection
> on a removable drive, or a network share, etc, darktable would notice the
> volume (just like git notices the repository by looking for a .git
> directory) and not create duplicates because photos have already been
> identified as being of a known volume.
>
> On the implementation side, it would mean:
>
> (1) when creating a volume create a UUID, store it on the filesystem, e.g.
> in a .darktable directory
> (2) in library database store all paths as volume-UUID + filesystem path
> relative to the volume root.
> (3) Perhaps also store in the database the last path where each volume was
> reachable (that would be a new table).
>
>
> What do you think?
>
>
> -- Stéphane
>
>
> Le 28/03/2021 à 06.07, August Schwerdfeger a écrit :
>
> A third option (which does not involve any hand-hacking of the database)
> is to open the folders collection, right-click on the root folder
> containing all the misplaced images, and click "search filmroll...". This
> will bring up a dialog box in which you should select the new location of
> that same folder.
>
> --
> August Schwerdfeger
> aug...@schwerdfeger.name
>
> On Sat, Mar 27, 2021 at 6:02 PM Jean-Luc CECCOLI <
> jean-luc.cecc...@wanadoo.fr> wrote:
>
>> > Message du 27/03/21 23:36
>> > De : "Jean-Luc CECCOLI"
>> > A : darktable-user@lists.darktable.org
>> > Copie à :
>> > Objet : re: [darktable-user] changing directory
>> >
>> > > Message du 27/03/21 17:49
>> > > De : "Jan Minekus"
>> > > A : darktable-user@lists.darktable.org
>> > > Copie à :
>> > > Objet : [darktable-user] changing directory
>> > >
>> > > Hello,
>> > >
>> > > The drive letter of my darktable folder has changed when I did a new
>> > > install of my computer. All files have the same structure as before.
>> > > How can I change this? I would like to keep all the changes I made
>> and
>> > > be able to go back to the original version of the files.
>> > >
>> > > In the darktablerc file I can change the entries containing the drive
>> > > letter.
>> > > Is there another way to do this?
>> > > In the preferences is no entry containing the path.
>> > >
>> > > I'm using windows 10 home 64 bits and darktable 3.4.1.1
>> > >
>> > > --
>> > > Kind regards,
>> > > Jan Minekus
>> > >
>> > Hello,
>> >
>> > Better go to windows drive manager and modify the letter so it matches
>> the previous one.
>> >
>> > Rgrds,
>> >
>> > J.-Luc
>>
>> Well, yes, of course, you can do that another way : directly within the
>> db - this is why I did not suggest it before.
>> 1- First of all, backup your library.db file
>> 2- open original library.db with any sql editor.
>> 3- go to the sql console window
>> 4- type the two following lines :
>> update film_rolls SET
>> folder = replace( folder, 'new_unwnated_path_to_the_files',
>> 'old_expected_path_to_the_files');
>> Be aware to replace the values between single quotes by the actual ones

Re: [darktable-user] DT 3.4.2 :: see exported formats in lighttable-view

2021-03-09 Thread William Ferguson
On Tue, Mar 9, 2021 at 11:33 AM Martin Straeten 
wrote:

> in the lighttable view all imported files are shown. You can also import
> png files - they will be displayed.
> Keep in mind that lighttable isn't a real time view onto your diskdrive,
> so unless you reimport your directory after exporting png files there these
> won't appear in lighttable view.
> You can use lua to generate a export, import, group with raw file
> afterwards script to achieve this (there's reusable code in
> https://github.com/darktable-org/lua-scripts/blob/master/contrib/gimp.lua)
>

There is a script, export2collection.lua (
https://github.com/wpferguson/extra-dt-lua-scripts/blob/master/export2collection.lua),
that does this.

>
> Am Di., 9. März 2021 um 17:07 Uhr schrieb Dr. A. Krebs  >:
>
>>
>> Dear all:
>>
>> DT offers different formats for importing and exporting pics.
>>
>> IMPORT:
>> https://www.darktable.org/usermanual/en/overview/supported-file-formats/
>>
>> EXPORT: https://darktable.gitlab.io/doc/en/exporting_images.html
>>
>>
>> As much as I found, dt shows in lighttable "only" RAW-formats (if I
>> activate to _import_ JPG, I see these files, in lighttable, too).
>>
>> However: In my workflow, I produce lossless(!!) PNG, whereas dt is
>> supposed to export only lossy(??) JPG??
>>
>> See: 
>>
>>
>> My aim would be:
>> - working on RAW-images in lighttable,
>> - export these as PNG and
>> - see all pics at the time(!!) within a directory.
>>
>> Lighttable should be for overviews and comparison, I guess. This way, I
>> could see original RAW _and_ resulting pics version simultaneously.
>>
>>
>> - I can't find a button to see PNG-format in lighttable.
>> - What do I miss?
>> - Is my workflow wrong?
>> - Are there better procedures or, maybe s.th. as Best Practice e.g.?
>>
>> Thank you for tips
>>
>>
>>
>> Axel
>>
>> 
>> 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] Not seeing replies to my posts

2021-02-22 Thread William Ferguson
I use firefox and gmail too.  I don't see what I send to the list, either
as the start of a thread or a reply.  You may have to CC yourself

On Mon, Feb 22, 2021 at 2:15 PM Bill Martz 
wrote:

> I am using Firefox and Gmail. Thanks, anyway.
>
> On Mon, Feb 22, 2021 at 1:45 PM Niranjan Rao  wrote:
>
>> On 2/22/21 10:39 AM, Bill Martz wrote:
>>
>> This has been going on for quite a while, and fortunately I have gotten
>> answers anyway:
>>
>> When I send an email to the users list, the only replies I see are when
>> someone replies to someone else's initial reply to my post. For example,
>>
>> Patrick Shanahan apparently replied to my post, Open/Close Behavior of
>> darkroom Left Hand Modules, but I didn't receive it. When Juan Navarro
>> replied to Patrick's reply, I received that.
>>
>> I see replies by Patrick to other people's posts all the time, so I don't
>> understand why it doesn't work for me. As far as I can tell, I am seeing
>> everyone else's posts and all the replies to them.
>>
>> Is anyone able to give me a fix for this issue?
>>
>> Bill Martz
>>
>> P.S. If you would include this address in your reply, I hope to be able
>> to see it:
>>
>> bill.in.michi...@gmail.com
>>
>> 
>> darktable user mailing list to unsubscribe send a mail to
>> darktable-user+unsubscr...@lists.darktable.org
>>
>>
>> Are you using thunderbird by any chance? I have seen similar behavior
>> when using thunderbird and mailing lists. My postings do not show up in the
>> list, but responses do.
>>
>
> 
> 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] Still no GUI module order possible?

2021-02-15 Thread William Ferguson
There is another side to this discussion that's not been considered.  The
devs don't just build features.  They also provide documentation, tech
support, education, videos, and bug fixing.

Let's say they implement a feature so the user can configure the GUI with
any module order they would like, and it doesn't affect the pixel pipe. And
we still have the pixelpipe that we can reorder.  Then a user processes an
image and it doesn't turn out the way they think it should have.  On this
list, as well as github, almost all of the conversations take place in
English.  However English isn't the first language of a lot of the devs as
well as a lot of the users.  So can you imagine the conversation when the
user is trying to relate what order they did things in and the dev is
trying to overcome the language barrier, figure out which module order the
user is talking about, figure out what order the pixelpipe was in, and
figure out what happened?  And what happens when the dev asks the user to
try a different order and the dev was talking about the pixelpipe and the
user adjusts the GUI order.

There is also the possibility of confusion on the part of the user when
they reorder the pixelpipe thinking they were reordering the GUI.

Sometimes features aren't implemented because the devs can't figure out how
to support them, not because they can't implement them.

On Mon, Feb 15, 2021 at 7:52 PM Ricardo Kozmate.Net 
wrote:

> DT is a really fine app.
>
> It would be even better, in my opinion, if it allowed users to use it in
> a way that feels comfortable to each user. Allowing to sort the modules
> *on the GUI* feels like a reasonable request. I would like to.
>
> Comparing to masks' order in GIMP is silly, that was not the point, I
> presume.
> Compare it to GIMP allowing to order the tools in the toolbox, as it does.
>
>
> Want to do it? Great!
>
> Do not want to do it? Fine, too.
>
> Devs may, and *should*, do whatever they think best. But pushing away
> suggestions with arrogant remarks will, in the long run, result in a
> poorer DT. For everybody.
>
> Users might have good and original ideas too, you know? If devs kill the
> will to help, they'll lose. We all lose.
>
> 
> 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] Watermark and Framing removal

2021-02-01 Thread William Ferguson
I created a blank.svg file and saved it to my watermarks.  I then created a
style using the blank.svg file, so when I want to remove the watermark, i
just apply the blank watermark style.  I'm thinking you could add the
framing module to your blank watermark style and apply that at the same
time.  You could then apply the style just on export, so your history stack
doesn't change on the file.

On Tue, Feb 2, 2021 at 12:45 AM Andrew Greig  wrote:

> Hi All,
>
> I can find no reference to removing framing and watermark for a batch of
> images. I have 450 images which I Watermarked and Framed in Darktable,
> specifically for submissions to Instagram. Now I want to generate some full
> size jpg images without Watermark or Framing. I looked at the "CopyParts"
> section of the Lighttable, but I am concerned that although removing the
> Framing and watermark it may also add the rest of the modules in my history
> stack, and I would be keen to avoid that.
>
> Many thanks
>
> Andrew Greig
>
> Melbourne, Australia
> --
>
> 
> 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] If you compile from git master and use the lua scripts...

2021-02-01 Thread William Ferguson
You'll want to update your lua-scripts to the latest version which is
compatible with the lua events API change as described in the darktable 3.6
Lua roadmap (https://github.com/darktable-org/darktable/issues/8052).


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

Re: [darktable-user] Usage and modifying description/title metadata fields

2021-01-17 Thread William Ferguson
In lighttable, metadata editor on right side

On Sun, Jan 17, 2021 at 10:43 PM Niranjan Rao  wrote:

> Ubuntu 20.04, darktable 2.4.1
>
>
> Apologies if this sounds really dumb question, but I am trying to figure
> out what's the usage of fields like description/title. I could not
> figure out a way to edit these fields from darkroom view, but lightroom
> allows me to set the values.
>
>
> If you set title and/or description, are there any other tools - may be
> like web browser or file explorer like tools that can show the
> information on mouse hover or something. I think it will really neat if
> functionality already exists.
>
> At least on Ubuntu, I did not see title/description displayed in default
> image viewer or image properties even though it shows other information.
>
> Regards,
>
>
> Niranjan
>
>
> 
> 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] Best way to tag image from command line?

2021-01-17 Thread William Ferguson
sqlite3 ~/.config/darktable/library.db or sqlite3
~/.config/darktable/data.db

On Sun, Jan 17, 2021 at 10:03 PM Niranjan Rao  wrote:

> It looks darktable does support most of these under collect images module.
> Some like City/State etc can be easily implemented.
>
> I think easiest way for developers might be to provide a raw SQL
> functionality. This way people can help each other with queries and extend
> the search functionality.
>
> Regards,
>
> Niranjan
> On 1/17/21 5:10 PM, Terry Pinfold wrote:
>
>
> Screen grab from Lightrooms metadata search function.
>
> Lightroom have developed a nice Digital Asset management tool but they
> want you to pay a subscription for the rest of your life. The only
> subscription I like is Netflix.
>
> Dr Terry Pinfold
> Cytometry & Histology Lab Manager
> Lecturer in Flow Cytometry
> University of Tasmania
> 17 Liverpool St, Hobart, 7000
> Ph 6226 4846 or 0408 699053
> --
> *From:* Niranjan Rao  
> *Sent:* Monday, 18 January 2021 6:01 AM
> *To:* Terry Pinfold 
> ; KOVÁCS István 
> 
> *Cc:* Darktable Users List 
> 
> *Subject:* Re: [darktable-user] Best way to tag image from command line?
>
> I have never used lightroom hence the question.
>
> Which exact search features are missing from darktable? I find collect
> images module more than sufficient where you can manipulate various and/or
> conditions to search/filter images.
>
> With image data in proper SQL database, searching images should be
> relatively easy to handle and darktable already allows many of the
> searches. If there is data in database, it can be queried, if it's not
> there, we can log feature requests for better cataloging.
>
> Personally, I believe collect images module is least noticed module and
> many don't see other features like tag hierarchy etc available. I myself
> was unaware and started writing my own code until someone kindly pointed
> existing features and told me how to use it.
>
> I did face a challenge of collecting the images in portrait mode, but
> quick look at database and help from others got me on the track. I believe
> data is there, but priorities are on improving images, not on searching
> images which can be achieved by external tools. Only gotcha here is may be
> darktable needs to be publish official schema or API so that other tools
> can use it.
>
> Regards,
>
> Niranjan
>
> On 1/16/21 12:28 PM, Terry Pinfold wrote:
>
> Hi Kofa,
>   I am using windows 10 with V3.4 and do not see any of the mentioned
> presets in lighttable. It is not a big issue to me but one of the
> advantages of Lightroom is its ability to search images based on text or
> extensive metadata including camera, lens, ISO etc. The editing
> capabilities of Darktable is more important to me than the digital asset
> management tools, but I guess it would be nice to have both.
>
>
> --
> *From:* KOVÁCS István  
> *Sent:* Saturday, 16 January 2021 7:32 PM
> *To:* Niranjan Rao  
> *Cc:* Darktable Users List 
> 'm
> *Subject:* Re: [darktable-user] Best way to tag image from command line?
>
> You may not need to tag them. Try this:
> On the lighttable, using the 'collect images' module => 'hamburger'
> (presets) menu -> portrait, landscape, or square. Those are just
> predefined filters using metadata -> capture details -> aspect ratio
> (less than, greater than or equal to 1). I'm on the master branch, but
> I think this is available with 3.4 as well.
>
> Kofa
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>
>
> University of Tasmania Electronic Communications Policy (December, 2014).
> This email is confidential, and is for the intended recipient only.
> Access, disclosure, copying, distribution, or reliance on any of it by
> anyone outside the intended recipient organisation is prohibited and may be
> a criminal offence. Please delete if obtained in error and email
> confirmation to the sender. The views expressed in this email are not
> necessarily the views of the University of Tasmania, unless clearly
> intended otherwise.
>
>
>
>
> 
> 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] Refresh exif information

2020-12-26 Thread William Ferguson
You can also copy and paste GPS info from the metadata panel.

There is also a new geoToolbox lua script coming that can help with
applying GPS information to images that don't have it including
interpolating between 2 points, so if you shot image A at one location and
image B at another you could assign all the images between A and B with
interpolated GPS coordinates based on the time difference and change in
coordinates.

Bill

On Sat, Dec 26, 2020 at 10:13 AM Niranjan Rao  wrote:

> Thank you, this works.
>
> Regards,
>
> Niranjan
>
> On 12/25/20 11:35 PM, Andreas Herold wrote:
> > Hi Niranjan,
> >
> > try „right pane“ -> „selected image[s]“ -> Tab „metadata“ -> „refresh
> exif“
> >
> > Best regards
> > Andreas
> >
> >> Am 26.12.2020 um 07:46 schrieb Niranjan Rao :
> >>
> >> On darktable 3.2.1
> >>
> >>
> >> I use exiftool to update images to add geo tagging information. My
> camera does not have GPS nor do I have easy access to such tools. I don't
> need exact coordinates, but information like it was this park or general
> location is good enough for me. I use google maps to copy location
> ordinates and embed it in my images. I need information in the images as
> many online tools show me the location based on the geo information where
> my backups are.
> >>
> >>
> >> However, I need to see the images first to decide which photo was
> captured where and I use lighttable view to decide the files.
> >>
> >>
> >> As far as I know, darktable never updates the original. The files are
> already imported. Is there any easy way to re-read the location information
> from images again? Sometimes it takes lot of time to reimport the images
> again.
> >>
> >>
> >> Regards,
> >>
> >>
> >> Niranjan
> >>
> >>
> 
> >> 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] For a new darktable a new script_manager

2020-12-24 Thread William Ferguson
Merry Christmas!

It's that time of year when the gift arrives that you've been looking
forward to for months, a new version of darktable.

To go along wth darktable 3.4 there is also a new script manager.  Check out
the article at
https://discuss.pixls.us/t/for-a-new-darktable-a-new-script-manager/21977


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

[darktable-user] Reorganize lua-scripts by function rather than origin

2020-12-22 Thread William Ferguson
I opened an issue, https://github.com/darktable-org/lua-scripts/issues/302,
proposing to reorganize the lua scripts by function.  In the issue I offer
a proposed organization, but I'm looking for comments, suggestions, other
ideas, etc.

Thanks,

Bill


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

Re: [darktable-user] Scanning and EXIF information

2020-11-15 Thread William Ferguson
Another way to handle the scans is import them into darktable, then update
the EXIF data in the database.  There is a lua script to adjust or set time
for an image or set of images called, appropriately enough, adjust_time.
It's located at https://github.com/wpferguson/extra-dt-lua-scripts.

On Sun, Nov 15, 2020 at 10:10 AM Stéphane Gourichon <
stephane_darkta...@gourichon.org> wrote:

> Hi Greig,
>
> You basically want to replace some EXIF information present in the raw
> file.
>
> A number of people (including me) would strongly avoid ever modifying a
> raw file. These are full of dragons. First I would make a backup of the
> raw files for fear or any change triggering some wrong checksum
> somewhere and making other software (or the camera itself) refuse to do
> anything with it, claiming corruption. If any software claims to be able
> to perform changes, I would open a binary comparison of before/after to
> check what is the actual change. And keep the original raw files in a
> backup, indefinitely.
>
>
> The situation is somehow similar to a more common one : camera clock was
> off and you need right times in EXIF after the facts. The typical case
> being: at some events (wedding, etc) several cameras were used, clock
> mismatch as always by minutes hours or days, making a mess of timeline
> order. Fortunately the case of adjusting time is somehow covered by
> darktable, which copies EXIF DateTimeOriginal to the XMP sidecar, as XML
> attribute of rdf:Description XML element like this :
> exif:DateTimeOriginal="2020:11:11 09:54:44" . Changing this line in the
> XMP while darktable is not running was enough for me to get correct
> datetime in Darktable and exported EXIF data, yay!
>
> I checked the source code (current git master), and alas this is
> specific to DateTimeOriginal, darktable current code does not consider
> overriding EXIF metadata from the XMP file, other than DateTimeOriginal.
>
> Would your need happen to me, I would either just ignore the problem and
> live with it, or modify darktable source code to save that data to XMP
> and read it back, then offer a Pull Request to the darktable team.
>
> It may be possible to manually edit EXIF values in the database, but I'm
> not sure this can even work, and furthermore the current design of the
> database is fragile with respect to the locations of raw files. More
> concretely, whenever the raw file is moved, or happen to be stored on an
> external drive that is mounted at a different place, you would probably
> lose your customization. With the XMP sidecar, darktable would load it
> again in those cases.
>
>
> Addendum: to handle comfortably the "several cameras with random time
> offsets take pictures of same events over a time range" case, I wrote a
> year ago a script to automatically adjust batches of pictures. It saved
> the day several times for me and I am considering publishing it as
> open-source. Anyone who reads this (even years after) please consider
> telling me if you're interested.
>
>
> -- Stéphane
>
>
>
> Le 15/11/2020 à 02.55, Andrew Greig a écrit :
> > Hi All,
> >
> > I shot and developed a roll of B+W film, and I will scan it using my
> > Canon EOS 5D iv with the EF 100mm f2.8 Macro lens. As I was shooting
> > the roll of film I maintained a notebook where I wrote down the
> > settings, what is the best way to substitute the info in the resulting
> > .CR2 files with the info from my notes? I am really looking forward to
> > loading these into Darktable/Negadoctor.
> >
> > Thanks
> > Andrew Greig
> >
> 
>
> >
> > darktable user mailing list
> > to unsubscribe send a mail to
> > darktable-user+unsubscr...@lists.darktable.org
> >
> --
> Stéphane Gourichon
>
>
> 
> 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] Re: dt as a plug in for gimp

2020-11-12 Thread William Ferguson
Is gimp installed as a snap or flatpak?  If so, they won't be able to start
or communicate with darktable or rawtherapee.

On Thu, Nov 12, 2020 at 7:11 PM Michael  wrote:

> and dt 3.0.1 . Do I have to put a link somewhere?
>
> On Thu, Nov 12, 2020 at 7:08 PM Michael  wrote:
> >
> > forgot to mention I run ubuntu
> >
> > On Thu, Nov 12, 2020 at 7:07 PM Michael  wrote:
> > >
> > > how do I get rid of this error?
> > > Opening '/home/michael/Desktop/Business/2020/20201103 1101 NW 101 DR
> > > Gainesville /PIC03648.ARW' failed:
> > >
> > > There is no RAW loader installed to open 'Raw Sony' files.
> > >
> > > GIMP currently supports these RAW loaders:
> > > - darktable (http://www.darktable.org/), at least 1.7
> > > - RawTherapee (http://rawtherapee.com/), at least 5.2
> > >
> > > Please install one of them in order to load RAW files.
> > >
> > > when I go to edit>prefrences dt is not listed in image import & export
> > >
> > > --
> > > :-)~MIKE~(-:
> >
> >
> >
> > --
> > :-)~MIKE~(-:
>
>
>
> --
> :-)~MIKE~(-:
>
> 
> 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] Script-Manager missing

2020-09-14 Thread William Ferguson
If you build yourself and are using the build.sh build script, add
--enable-lua to the command line

i.e. ./build.sh --prefix /opt/ --enable-lua

Or if you're downloading a compiled git, ask the maintainer to enable lua

On Mon, Sep 14, 2020 at 1:03 PM David Vincent-Jones 
wrote:

> Still not found the 'switch'  it's driving me nuts!
> On 2020-09-14 8:56 a.m., William Ferguson wrote:
>
> I think you've fond the problem
>
> On Mon, Sep 14, 2020 at 11:55 AM David Vincent-Jones 
> wrote:
>
>> No   it shows that lua is disabled
>> On 2020-09-14 8:14 a.m., William Ferguson wrote:
>>
>> If you start darktable with --version, does it show Lua enabled?
>>
>> On Sun, Sep 13, 2020 at 11:33 PM David Vincent-Jones 
>> wrote:
>>
>>> Started dt with -d lua option and it opened correctly .. no messages.
>>> Not sure if it was showing previously, I have simply not been looking for
>>> it for a while and the git gets updated most days.
>>>
>>> All of the files appear correctly in place and I have done another pull
>>> of the lua material with a new luarc in place now but nothing shows-up in
>>> dt. I must be missing something!
>>> On 2020-09-13 7:28 p.m., William Ferguson wrote:
>>>
>>> Just pulled the latest git, built it, and script_manager is still
>>> there.  Was it working before you updated?  You could try running darktable
>>> from a console with the -d lua switch to see if that sheds any light on the
>>> problem.
>>>
>>> On Sun, Sep 13, 2020 at 8:30 PM David Vincent-Jones 
>>> wrote:
>>>
>>>> After the git is updated the script-manager is missing. Is there some
>>>> reason why the manager is not a part of the git update?
>>>>
>>>> David
>>>>
>>>> 
>>>> 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
>>
>
> 
> 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] Script-Manager missing

2020-09-14 Thread William Ferguson
I think you've fond the problem

On Mon, Sep 14, 2020 at 11:55 AM David Vincent-Jones 
wrote:

> No   it shows that lua is disabled
> On 2020-09-14 8:14 a.m., William Ferguson wrote:
>
> If you start darktable with --version, does it show Lua enabled?
>
> On Sun, Sep 13, 2020 at 11:33 PM David Vincent-Jones 
> wrote:
>
>> Started dt with -d lua option and it opened correctly .. no messages. Not
>> sure if it was showing previously, I have simply not been looking for it
>> for a while and the git gets updated most days.
>>
>> All of the files appear correctly in place and I have done another pull
>> of the lua material with a new luarc in place now but nothing shows-up in
>> dt. I must be missing something!
>> On 2020-09-13 7:28 p.m., William Ferguson wrote:
>>
>> Just pulled the latest git, built it, and script_manager is still there.
>> Was it working before you updated?  You could try running darktable from a
>> console with the -d lua switch to see if that sheds any light on the
>> problem.
>>
>> On Sun, Sep 13, 2020 at 8:30 PM David Vincent-Jones 
>> wrote:
>>
>>> After the git is updated the script-manager is missing. Is there some
>>> reason why the manager is not a part of the git update?
>>>
>>> David
>>>
>>> 
>>> 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
>


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

Re: [darktable-user] Script-Manager missing

2020-09-14 Thread William Ferguson
If you start darktable with --version, does it show Lua enabled?

On Sun, Sep 13, 2020 at 11:33 PM David Vincent-Jones 
wrote:

> Started dt with -d lua option and it opened correctly .. no messages. Not
> sure if it was showing previously, I have simply not been looking for it
> for a while and the git gets updated most days.
>
> All of the files appear correctly in place and I have done another pull of
> the lua material with a new luarc in place now but nothing shows-up in dt.
> I must be missing something!
> On 2020-09-13 7:28 p.m., William Ferguson wrote:
>
> Just pulled the latest git, built it, and script_manager is still there.
> Was it working before you updated?  You could try running darktable from a
> console with the -d lua switch to see if that sheds any light on the
> problem.
>
> On Sun, Sep 13, 2020 at 8:30 PM David Vincent-Jones 
> wrote:
>
>> After the git is updated the script-manager is missing. Is there some
>> reason why the manager is not a part of the git update?
>>
>> David
>>
>> 
>> 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] Script-Manager missing

2020-09-13 Thread William Ferguson
Just pulled the latest git, built it, and script_manager is still there.
Was it working before you updated?  You could try running darktable from a
console with the -d lua switch to see if that sheds any light on the
problem.

On Sun, Sep 13, 2020 at 8:30 PM David Vincent-Jones 
wrote:

> After the git is updated the script-manager is missing. Is there some
> reason why the manager is not a part of the git update?
>
> David
>
> 
> 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] Mac OS - enfuse & enfuseAdvance Lua fails to load

2020-09-05 Thread William Ferguson
In script_manager go to the category tools and open executable manager.
Pick the executable from the drop down menu and then pick the location.
enfuseAdvanced needs exiftool and align_image_stack also.

On Sat, Sep 5, 2020, 10:31 AM J Albrecht  wrote:

> Thanks for the guidance, Bill. As expected, the terminal output showed:
>
> /.config/darktable/lua/official/enfuse.lua:283: enfuse executable not found
>
> Entering “which enfuse” returns:
>
> /Applications/Hugin/HuginStitchProject.app/Contents/MacOS/enfuse
>
> I seem to recall that in earlier versions I was able to specify the
> location of the executable. Alas, I cannot find where to do that now.
>
>
>
>
>
>
>
> -------
>
>
> On 5 Sep 2020, at 00:31, William Ferguson  wrote:
>
> Can you start darktable from a terminal with the command
>
> /Applications/darktable.app/Contents/MacOS/darktable -d lua
>
> This should print whatever error that enfuse and enfuseAdvanced are having.
>
> Thanks,
>
> Bill
>
> On Fri, Sep 4, 2020 at 4:25 PM J Albrecht  wrote:
>
>> Try as hard and as often as I might, I can’t enable either the enfuse or
>> the enfuseAdvance Lua script. When I try to invoke them from Bill
>> Ferguson’s excellent Script Manager, the effort is returned with
>> “enfuse(Advanced) failed to load.
>>
>> I’m currently running darktable v 3.2.1 on Mac OS 10.14.6 (Mojave).
>> Enfuse is also loaded onto my box.
>>
>> Can somebody please provide a bit of guidance so that I can once again
>> make use of this functionality? Thanks in advance!
>>
>
> 
> 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] Mac OS - enfuse & enfuseAdvance Lua fails to load

2020-09-04 Thread William Ferguson
Can you start darktable from a terminal with the command

/Applications/darktable.app/Contents/MacOS/darktable -d lua

This should print whatever error that enfuse and enfuseAdvanced are having.

Thanks,

Bill

On Fri, Sep 4, 2020 at 4:25 PM J Albrecht  wrote:

> Try as hard and as often as I might, I can’t enable either the enfuse or
> the enfuseAdvance Lua script. When I try to invoke them from Bill
> Ferguson’s excellent Script Manager, the effort is returned with
> “enfuse(Advanced) failed to load.
>
> I’m currently running darktable v 3.2.1 on Mac OS 10.14.6 (Mojave). Enfuse
> is also loaded onto my box.
>
> Can somebody please provide a bit of guidance so that I can once again
> make use of this functionality? Thanks in advance!
>


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



Re: [darktable-user] Channel mixer bug?

2020-09-03 Thread William Ferguson
https://github.com/darktable-org/darktable/issues/5578

On Thu, Sep 3, 2020 at 1:18 PM Mikael Ståldal  wrote:

> Thanks, good to know. (Would be nice if this was documented though.)
>
> /Mikael
>
>
> On 2020-09-03 18:12, Matt Maguire wrote:
> > The problem is that the channel mixer has a clamping function which
> > limits the values that are allowed to pass through. This is not
> > appropriate behaviour for the scene-referred part of the pixel pipe, as
> > it can result in exactly the symptoms you report. The devs are aware of
> > this, and there are multiple PRs looking at how to solve this. I would
> > expect that in darktable 3.4 they should settle on one of the solutions
> > being proposed.
> >
> > On Fri, 4 Sep 2020 at 02:06, Mikael Ståldal  > > wrote:
> >
> > After playing around with the channel mixer on some pictures, I get
> an
> > odd effect sometimes. Just enabling the module with default settings
> > sometimes affects the picture, the histogram jumps to the left and I
> > lose detail in the highlights. Seems to happen when I also use filmic
> > RGB. Is this intended, or a bug?
> >
> >
> > On 2020-09-01 21:04, Mikael Ståldal wrote:
> >  > I have tried to use the channel mixer module, but I don't quite
> >  > understand it. I have only been able to effectively use the
> presets.
> >  >
> >  > I have read the user manual, but it didn't help much.
> >  >
> >  > I also looked at this video:
> > https://www.youtube.com/watch?v=ZGvkSTjjtMw
> >  > but it seems like Bruce Williams was quite confused as well.
> >  >
> >  > Any suggestions for documentation or tutorials?
> >  >
> >
>  
> >
> >  >
> >  > 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] Adding/changing datetime

2020-08-17 Thread William Ferguson
There is another way to manipulate image date and time in the database
using the lua script contrib/image_time.lua.  It allows the image time to
be adjusted (+/-), set, or reset.

On Mon, Aug 17, 2020 at 2:13 PM Tobias Krause  wrote:

> Hi,
>
> updating the database did the job:
>
> UPDATE   images
> SET  datetime_taken = '2014:04:05 11:11:11'
> WHERE  film_id = 199
>
> Alternatives on Windows:
> 1. XnView is able to alter the datetime of the picture prio to import (I
> decided not to take the risk of manipulating the image)
> 2. Updating the xmp-file and let darktable check for updated xmp files on
> startup should work, but this take quite long if the database contains many
> pictures...
>
> Regards
> Tobias
>
> -- 2014:04:04 11:11:11
>
> On 17.08.2020 07:11, Tobias Krause wrote:
>
> Hi,
>
> Thanks for all the answers.
>
> For me chancing the date directly in the darktable database seems the
> easiest. I'll have a look into that soon and let you know how I did it.
>
> The reason for the missing metadata is that I do not have the RAWs but
> only exports from Lightroom done without metadata...
>
> Regards
> Tobias
>
>
>
> On 16.08.2020 17:08, Jean-Luc CECCOLI wrote:
>
> Hello,
>
> It may happen that the date is not available, for instance because the
> camera was reset and the date / time not adjusted.
> Or because they were taken long ago, with a camera that did not embed the
> information.
> Or... ther may be so many reasons. :-(
> It is possible to do almost everything from within the database - I once
> succeeded in modifying the path to a series of photos.
> You could also use exiv2 (or even xnvew, if I am not wrong) to embed the
> information into the files (make a backup of them before, because this may
> alter your files in a way that further versions of dt are not able to read
> thepm anymore).
>
> Hope it will help,
>
> J.-Luc
>
>
>
>
>
>
>
>
>
> > Message du 16/08/20 09:04
> > De : "David Vincent-Jones"  
> > A : darktable-user@lists.darktable.org
> > Copie à :
> > Objet : Re: [darktable-user] Adding/changing datetime
> >
> >
>
> > All of my folders carry the date ... and I generally download daily
>  that makes it easy.
> >
> On 16.08.20 08:52, Tobias Krause wrote:
> >
>
> Hi,
> >
> > in my database there are a bunch of pictures missing the "datetime"
> > information. Unfortunately there is now way I could get the original
> files.
> >
> > Is there a way add/change datetime within darktable - have at least the
> > correct day would be key to filtering by date...
> >
> > Regards,
> > Tobias
> >
> 
>
> > 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
>


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



Re: [darktable-user] File name on print

2020-07-27 Thread William Ferguson
Create a style using framing to put a white border around the image and
then the watermark module with simple text selected and $(FILE_NAME) as the
text.  Adjust scaling and position.  Save the style as proof print or
whatever, then apply it on export to create your proof print.

On Mon, Jul 27, 2020 at 2:48 PM Kent Tenney  wrote:

> Howdy,
>
> I've come to like the Shotwell feature of adding the
> filename below the image on a print. Very useful
> for locating the file of a proof print.
>
> Is there a way to configure Darktable, or an extension
> which would offer this feature?
>
> Thanks,
> Kent
>
> 
> 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] Can I invoke an external programme from DarkTable

2020-06-20 Thread William Ferguson
Lua is the programming language that the scripts are written in.
Instructions for installing the lua scripts, and enabling them, are
available at https://github.com/darktable-org/lua-scripts.  When the GIMP
plugin is activated, an extra export target (Edit with GIMP)  is available
in the storage section of the export selected module.

On Sat, Jun 20, 2020 at 6:01 PM Terry Pinfold  wrote:

> I have installed plugins for GIMP before. Reasonably easy but what does
> Lua stand for and how do I incorporate it into DT. I googled the Lua to
> activate GIMP but to me it seemed to be a load of text and I was unsure
> what to do with it. Advice appreciated.
> Thanks
>
> On Fri, 19 Jun 2020 at 22:00, Pascal Obry  wrote:
>
>> Le vendredi 19 juin 2020 à 08:03 -0300, Guillermo Rozas a écrit :
>> > > I find a frequent need to invoke Photoshop as part of my workflow
>> when
>> > > using LightRoom and assume this requirement might still exist if I
>> > > switch to DarkTable. Is there a way to invoke any 'external'
>> programme
>> > > while working in DT ?
>> >
>> > Short answer: no (or 'not yet')
>>
>> There is some Lua plug-ins to launch GIMP for example. This breaks the
>> workflow (as does Lr & Photoshop) but it exists.
>>
>> --
>>   Pascal Obry /  Magny Les Hameaux (78)
>>
>>   The best way to travel is by means of imagination
>>
>>   http://www.obry.net
>>
>>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>>
>>
>> 
>> darktable user mailing list
>> to unsubscribe send a mail to
>> darktable-user+unsubscr...@lists.darktable.org
>>
>>
>
> --
> Dr Terry Pinfold
> Cytometry & Histology Lab Manager
> Lecturer in Flow Cytometry
> University of Tasmania
> 17 Liverpool St, Hobart, 7000
> Ph 6226 4846 or 0408 699053
>
>
> 
> 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] Can I invoke an external programme from DarkTable

2020-06-19 Thread William Ferguson
When you use the lua-script, gimp.lua to do the export, the result is
imported back in and grouped with the original file.

You could also use the retouch module in darktable which includes a healing
tool.  I used to go to GIMP for all my retouching, but now I seldom use it
because I can accomplish what I need in darktable.

On Fri, Jun 19, 2020 at 6:40 PM Terry Pinfold  wrote:

> Regardless of LR or DT when you want to work in another editor such as PS
> or GIMP the raw image must be exported as a new file with tiff being
> superior to jpeg for this purpose. I would just like to see an easier
> option to do this process. But currently I am scanning hundreds of old
> images as tiff files, I open the tiff files in DT and perform certain
> functions that darktable does really well including denoise, sharpen and
> local contrast (save as a style). I then export the image and open the
> image in GIMP and use the healing tool to remove dust and scratches (prefer
> GIMP for this) and also might do some final tweaks for color, levels or
> curves (yes these could have been done in darktable). The only advantage LR
> has over DT is that it would track the export of the image and include it
> in the catalog. Maybe if DT could do an export and automatically include
> the image in its catalog that might be a minor improvement. But really DT
> is not a great catalog system but an incredible raw editor. Great job done
> by the developers with DT and the developers of GIMP.
>
> On Fri, 19 Jun 2020 at 22:34, Pascal Obry  wrote:
>
>> Le vendredi 19 juin 2020 à 09:23 -0300, Guillermo Rozas a écrit :
>> > Ok. I was of the impression that the LR-PS integration was tighter
>> > and didn't break the workflow (never used them). If they do, yes
>> > those Lua scripts work like that.
>>
>> Maybe this has improved recently but last time I saw a demo there was
>> an export of the image from Lr, and import in Ps, some work done in Ps
>> and then a re-import as a duplicate in Lr (don't remember the Lr term
>> for this) with the Ps work in it.
>>
>> --
>>   Pascal Obry /  Magny Les Hameaux (78)
>>
>>   The best way to travel is by means of imagination
>>
>>   http://www.obry.net
>>
>>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>>
>>
>> 
>> darktable user mailing list
>> to unsubscribe send a mail to
>> darktable-user+unsubscr...@lists.darktable.org
>>
>>
>
> --
> Dr Terry Pinfold
> Cytometry & Histology Lab Manager
> Lecturer in Flow Cytometry
> University of Tasmania
> 17 Liverpool St, Hobart, 7000
> Ph 6226 4846 or 0408 699053
>
>
> 
> 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] How to handle clobbering of in-file geotags?

2020-06-16 Thread William Ferguson
Okay, I took my advice and created reset_GPS.lua.  It works with my camera,
but I'm not sure if it works with others, so I've commented out all the
action lines and put in print lines to say what it would do.  Run darktable
from a console with -d lua then select an image and click the "reset GPS
info" button in the selected images module.  You can test it against images
with good GPS data and see if the answers match.

Bill

On Mon, Jun 15, 2020 at 2:54 PM William Ferguson 
wrote:

> The low tech way would be go to the map view and drag them back where they
> belong (if you know where that is).
>
> The higher tech way would be to copy clear_GPS_info.lua and rename it to
> reset_GPS_info.lua, then change the inner loop to run exiv2 against the
> file, retrieve the gps info, and set it.
>
> Another way would be to do a feature request for an option to not
> overwrite existing GPS data when doing a geotag.
>
> Bill
>
> On Mon, Jun 15, 2020 at 1:51 PM August Schwerdfeger <
> aug...@schwerdfeger.name> wrote:
>
>> When applying a geotag to an image from a GPX file, it automatically
>> clobbers any geotag that had been obtained from the file itself on import.
>> At this point, the only way I have found to get the in-file geotag back is
>> to remove the image from the database, delete the XMP sidecar, then
>> re-import.
>>
>> Is there any nicer way of doing this (other than remembering to add a
>> collect-by-geotag rule to exclude already-geotagged images before applying)?
>>
>> --
>> August Schwerdfeger
>> aug...@schwerdfeger.name
>>
>>
>> 
>> 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--[[

reset_GPS.lua - export and edit with GIMP

Copyright (C) 2016 Bill Ferguson .

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
--[[
reset_GPS - clear GPS data from selected image(s)

This shortcut removes the GPS coordinate data from the selected images.

ADDITIONAL SOFTWARE NEEDED FOR THIS SCRIPT
* None

USAGE
* require this script from your main lua file
* select an image or images
* click the shortcut, clear GPS data

BUGS, COMMENTS, SUGGESTIONS
* Send to Bill Ferguson, wpfergu...@gmail.com

CHANGES
]]

local dt = require "darktable"
local du = require "lib/dtutils"
local df = require "lib/dtutils.file"

du.check_min_api_version("3.0.0", "reset_GPS") 

local PS = dt.configuration.running_os == windows and '\\' or '/'

local gettext = dt.gettext

-- not a number
local NaN = 0/0

local exiv2 = df.check_if_bin_exists("exiv2")

if exiv2 then


  -- Tell gettext where to find the .mo file translating messages for a particular domain
  gettext.bindtextdomain("reset_GPS",dt.configuration.config_dir.."/lua/locale/")

  local function _(msgid)
  return gettext.dgettext("reset_GPS", msgid)
  end

  local function extract_altitude(dat)
return string.match(dat, "(%d-.?%d?) m$")
  end

  local function extract_degrees(dat)
dt.print_log("dat is " .. dat)
local deg = nil
local min = nil

deg, min = string.match(dat, "(%d-)deg (%d+.?%d+)")

if deg then
  dt.print_log("deg is " .. deg)
end

if mins then
  dt.print_log("min is " .. min)
end


if deg then
  if min then
deg = deg + min / 60.
dt.print_log("deg is " .. deg)
  end
end
if deg then
  dt.print_log("deg is " .. deg)
else
  dt.print_log("returning nil for dat " .. dat)
end
return deg
  end

  local function process_data(ref, dat)
-- dt.print_log("ref is " .. ref)
-- dt.print_log("dat is " .. dat)
local sign = 1
local result = nil

if string.match(ref, "Above") then
  sign = 1
  re

Re: [darktable-user] How to handle clobbering of in-file geotags?

2020-06-15 Thread William Ferguson
The low tech way would be go to the map view and drag them back where they
belong (if you know where that is).

The higher tech way would be to copy clear_GPS_info.lua and rename it to
reset_GPS_info.lua, then change the inner loop to run exiv2 against the
file, retrieve the gps info, and set it.

Another way would be to do a feature request for an option to not overwrite
existing GPS data when doing a geotag.

Bill

On Mon, Jun 15, 2020 at 1:51 PM August Schwerdfeger <
aug...@schwerdfeger.name> wrote:

> When applying a geotag to an image from a GPX file, it automatically
> clobbers any geotag that had been obtained from the file itself on import.
> At this point, the only way I have found to get the in-file geotag back is
> to remove the image from the database, delete the XMP sidecar, then
> re-import.
>
> Is there any nicer way of doing this (other than remembering to add a
> collect-by-geotag rule to exclude already-geotagged images before applying)?
>
> --
> August Schwerdfeger
> aug...@schwerdfeger.name
>
>
> 
> 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] exiftool cannot be found

2020-01-28 Thread William Ferguson
If I remember correctly when you run darktable on MacOS it uses a "system"
version of the path and not the user's path.  We used to try and use which
to find commands and it would work on the command line, but not from a
script.

Bill

On Tue, Jan 28, 2020 at 11:45 AM August Schwerdfeger <
aug...@schwerdfeger.name> wrote:

> If this is a Lua script trying to invoke 'exiftool', the Lua API uses the
> 'system()' function as its method of running external programs. I believe
> 'system()' is required by the POSIX standard to pass its argument to 'sh'
> rather than any shell the user might define.
>
> --
> August Schwerdfeger
> aug...@schwerdfeger.name
>
> On Tue, Jan 28, 2020 at 10:25 AM Anton Aylward 
> wrote:
>
>> On 2020-01-28 5:17 a.m., Subhash Fotografie wrote:
>> > [Matt Maguire  schrieb am 28.1.2020 um 8:27
>> Uhr:]
>> >
>> >> So, easiest way around this is to define the location of exiftool in
>> your
>> >> preferences file …
>> >
>> > OK, very fine, this did it for the error message to disappear! Thank
>> you again!
>> >
>> > But… now I get another one importing an new image which is so long and
>> quickly disappearing that I cannot read it. And I do not know where to find
>> it in a log.
>> >
>> > Looking at the console I find many many error reports for darktable.
>> Among others:
>> >
>> > 28.1.2020 10:55:30,840 [0x0-0x4f04f].org.darktable: sh: exiftool:
>> command not found
>> >
>> > I don't know what that means. (I can work with exiftool in the terminal
>> using the tcsh shell.)
>>
>> I *think" what that means is when DT invokes an system service such as
>> exiftool
>> it is using a shell that calls itself "sh" such as the BASH shell.  I'd be
>> curious what the value of SHELL is in the environment when DT is invoked
>> and
>> whether DT uses that or if the shell to use or it's absolute address
>> (ignoring
>> PATH) is hard coded.
>>
>> I'm also curious as to how your tcsh finds exiftool.  Is it aliased or is
>> on via
>> PATH?  If the latter, this raises questions about how DT's shell,
>> whatever it
>> its mechanism, isn't finding it.  Perhaps the ~/.tcshrc  sets it in a way
>> that
>> the ~/.bashrc that 'sh' uses doesn't.
>>
>>
>> --
>> The illegal we do immediately. The unconstitutional takes a little longer.
>> -- Henry Kissinger, New York Times, Oct. 28, 1973
>>
>> 
>> 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: Re(21): [darktable-user] exiftool cannot be found

2020-01-28 Thread William Ferguson
It appears that I need to update the usermanual too...  :/

On Tue, Jan 28, 2020 at 12:18 PM William Ferguson 
wrote:

> I've also submitted a PR to remove include_all.lua :)
>
> Bill
>
> On Tue, Jan 28, 2020 at 12:05 PM William Ferguson 
> wrote:
>
>> I've been seeing this conversation show up in many threads and was trying
>> to figure it out, without much luck.  Then today there was a PR on the
>> lua-scripts repository and it all made sense.
>>
>> So I have some suggestions about how it could have come to a quicker
>> solution.
>>
>> If there is an issue with one of the scripts in the lua-scripts
>> repository, it would be a good idea to open an issue at
>> https://github.com/darktable-org/lua-scripts/issues.  That way the
>> maintainers and possibly the author of the script can give support.
>>
>> The README.md at https://githib.com/darktable-org/lua-scripts provides a
>> lot of information about the scripts including how to install them, run
>> them, and avoid having to use the luarc file.
>>
>> The simple solution to the original problem was to run
>> tools/executable_manager.lua and use the exiftool file selector to select
>> the executable.  Once that was done, contrib/autostyler.lua would have just
>> worked.
>>
>> The last recommendation is try and remember to reply to the list so that
>> there is only one thread to the conversation and all the information is
>> there.  That way others might be able to help.
>>
>> Bill
>>
>>
>>
>> On Tue, Jan 28, 2020 at 11:49 AM Patrick Shanahan 
>> wrote:
>>
>>> * Patrick Shanahan  [01-28-20 11:41]:
>>> > * Subhash Fotografie  [01-28-20 10:26]:
>>> > > [Patrick Shanahan  schrieb am 28.1.2020 um 9:49
>>> Uhr:]
>>> > >
>>> > > >I don't believe "all" is a good approach and cannot fathom why it
>>> would be
>>> > > >pursued.  One should *only* activate scripts that provide a
>>> wanted/needed
>>> > > >function.  Then test for compatability and deactivate if not
>>> compatible.
>>> > >
>>> > > This is what happened:
>>> > > 1) I missed functions in DT that I thought to be essential such as
>>> automatic backup at shutdown.
>>> > > 2) I found the mention of lua scripts in
>>> darktable.3.0.usermanual-de.pdf.
>>> > > 3) I found it very cumbersome to write requirements in luarc for
>>> each script I want to test.
>>> > > 4) I found the script include_all.lua and required it in luarc. So I
>>> had all scripts in DT preferences at the tab "Lua options" and enabled the
>>> ones I wanted. That were NOT all only some of them.
>>> > > 5) I thought only the enabled scripts are active.
>>> >
>>> > did you look at the script, include_all.lua?
>>> > The header has:
>>> >   INCLUDE ALL
>>> >   Automatically include all scripts in the script repository
>>> >
>>> >
>>> >
>>> > NOTE:  some attention to detail is required of YOU.
>>> > repeat
>>> > repeat
>>> > repeat
>>> >
>>> >
>>> > The *enabled* scripts will all be listed in ~/.config/darktable/luarc
>>> as
>>> >   require "contrib/autostyle"
>>> >   require "contrib/clear_GPS"
>>> >   require "contrib/copy_attach_detach_tags"
>>> >
>>> > enables/activates scripts: autostyle.lua
>>> >  clear_GPS.lua
>>> >  copy_attach_tags.lua
>>>
>>> that was a little heavy, sorry.  I don't know about dt activating or not,
>>> have only used the luarc to control.
>>>
>>> If I was you I would go thru the luarc and only enable what you *really*
>>> need there and not the "script"
>>>
>>> --
>>> (paka)Patrick Shanahan   Plainfield, Indiana, USA
>>> @ptilopteri
>>> http://en.opensuse.orgopenSUSE Community Member
>>> facebook/ptilopteri
>>> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet
>>> freenode
>>> 8
>>>
>>> 
>>> 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: Re(21): [darktable-user] exiftool cannot be found

2020-01-28 Thread William Ferguson
I've also submitted a PR to remove include_all.lua :)

Bill

On Tue, Jan 28, 2020 at 12:05 PM William Ferguson 
wrote:

> I've been seeing this conversation show up in many threads and was trying
> to figure it out, without much luck.  Then today there was a PR on the
> lua-scripts repository and it all made sense.
>
> So I have some suggestions about how it could have come to a quicker
> solution.
>
> If there is an issue with one of the scripts in the lua-scripts
> repository, it would be a good idea to open an issue at
> https://github.com/darktable-org/lua-scripts/issues.  That way the
> maintainers and possibly the author of the script can give support.
>
> The README.md at https://githib.com/darktable-org/lua-scripts provides a
> lot of information about the scripts including how to install them, run
> them, and avoid having to use the luarc file.
>
> The simple solution to the original problem was to run
> tools/executable_manager.lua and use the exiftool file selector to select
> the executable.  Once that was done, contrib/autostyler.lua would have just
> worked.
>
> The last recommendation is try and remember to reply to the list so that
> there is only one thread to the conversation and all the information is
> there.  That way others might be able to help.
>
> Bill
>
>
>
> On Tue, Jan 28, 2020 at 11:49 AM Patrick Shanahan 
> wrote:
>
>> * Patrick Shanahan  [01-28-20 11:41]:
>> > * Subhash Fotografie  [01-28-20 10:26]:
>> > > [Patrick Shanahan  schrieb am 28.1.2020 um 9:49
>> Uhr:]
>> > >
>> > > >I don't believe "all" is a good approach and cannot fathom why it
>> would be
>> > > >pursued.  One should *only* activate scripts that provide a
>> wanted/needed
>> > > >function.  Then test for compatability and deactivate if not
>> compatible.
>> > >
>> > > This is what happened:
>> > > 1) I missed functions in DT that I thought to be essential such as
>> automatic backup at shutdown.
>> > > 2) I found the mention of lua scripts in
>> darktable.3.0.usermanual-de.pdf.
>> > > 3) I found it very cumbersome to write requirements in luarc for each
>> script I want to test.
>> > > 4) I found the script include_all.lua and required it in luarc. So I
>> had all scripts in DT preferences at the tab "Lua options" and enabled the
>> ones I wanted. That were NOT all only some of them.
>> > > 5) I thought only the enabled scripts are active.
>> >
>> > did you look at the script, include_all.lua?
>> > The header has:
>> >   INCLUDE ALL
>> >   Automatically include all scripts in the script repository
>> >
>> >
>> >
>> > NOTE:  some attention to detail is required of YOU.
>> > repeat
>> > repeat
>> > repeat
>> >
>> >
>> > The *enabled* scripts will all be listed in ~/.config/darktable/luarc as
>> >   require "contrib/autostyle"
>> >   require "contrib/clear_GPS"
>> >   require "contrib/copy_attach_detach_tags"
>> >
>> > enables/activates scripts: autostyle.lua
>> >  clear_GPS.lua
>> >  copy_attach_tags.lua
>>
>> that was a little heavy, sorry.  I don't know about dt activating or not,
>> have only used the luarc to control.
>>
>> If I was you I would go thru the luarc and only enable what you *really*
>> need there and not the "script"
>>
>> --
>> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
>> http://en.opensuse.orgopenSUSE Community Member
>> facebook/ptilopteri
>> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet
>> freenode
>> 8
>>
>> 
>> 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: Re(21): [darktable-user] exiftool cannot be found

2020-01-28 Thread William Ferguson
I've been seeing this conversation show up in many threads and was trying
to figure it out, without much luck.  Then today there was a PR on the
lua-scripts repository and it all made sense.

So I have some suggestions about how it could have come to a quicker
solution.

If there is an issue with one of the scripts in the lua-scripts repository,
it would be a good idea to open an issue at
https://github.com/darktable-org/lua-scripts/issues.  That way the
maintainers and possibly the author of the script can give support.

The README.md at https://githib.com/darktable-org/lua-scripts provides a
lot of information about the scripts including how to install them, run
them, and avoid having to use the luarc file.

The simple solution to the original problem was to run
tools/executable_manager.lua and use the exiftool file selector to select
the executable.  Once that was done, contrib/autostyler.lua would have just
worked.

The last recommendation is try and remember to reply to the list so that
there is only one thread to the conversation and all the information is
there.  That way others might be able to help.

Bill



On Tue, Jan 28, 2020 at 11:49 AM Patrick Shanahan  wrote:

> * Patrick Shanahan  [01-28-20 11:41]:
> > * Subhash Fotografie  [01-28-20 10:26]:
> > > [Patrick Shanahan  schrieb am 28.1.2020 um 9:49
> Uhr:]
> > >
> > > >I don't believe "all" is a good approach and cannot fathom why it
> would be
> > > >pursued.  One should *only* activate scripts that provide a
> wanted/needed
> > > >function.  Then test for compatability and deactivate if not
> compatible.
> > >
> > > This is what happened:
> > > 1) I missed functions in DT that I thought to be essential such as
> automatic backup at shutdown.
> > > 2) I found the mention of lua scripts in
> darktable.3.0.usermanual-de.pdf.
> > > 3) I found it very cumbersome to write requirements in luarc for each
> script I want to test.
> > > 4) I found the script include_all.lua and required it in luarc. So I
> had all scripts in DT preferences at the tab "Lua options" and enabled the
> ones I wanted. That were NOT all only some of them.
> > > 5) I thought only the enabled scripts are active.
> >
> > did you look at the script, include_all.lua?
> > The header has:
> >   INCLUDE ALL
> >   Automatically include all scripts in the script repository
> >
> >
> >
> > NOTE:  some attention to detail is required of YOU.
> > repeat
> > repeat
> > repeat
> >
> >
> > The *enabled* scripts will all be listed in ~/.config/darktable/luarc as
> >   require "contrib/autostyle"
> >   require "contrib/clear_GPS"
> >   require "contrib/copy_attach_detach_tags"
> >
> > enables/activates scripts: autostyle.lua
> >  clear_GPS.lua
> >  copy_attach_tags.lua
>
> that was a little heavy, sorry.  I don't know about dt activating or not,
> have only used the luarc to control.
>
> If I was you I would go thru the luarc and only enable what you *really*
> need there and not the "script"
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
> 8
>
> 
> 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] export and external command (lua)

2020-01-27 Thread William Ferguson
There is a script,
https://github.com/wpferguson/extra-dt-lua-scripts/blob/master/postsharpen.lua,
that exports some files, then sharpens them after export.  The functions
you are interested in are setup() and sharpen().

Good Luck,

Bill

On Mon, Jan 27, 2020 at 8:42 AM  wrote:

> Hi,
>
> I wish to include an external command during the export. I don't find
> anything already build for this.
> Thus I was thinking to use the event intermediate-export-image to do this
> but I'm not able to find the temporary filename to the exported file. It
> seems not to be exposed.
>
> If it is not possible to get this temporary filename, what is the best way
> to include this command in my process, considering I wish to automatize it
> as much as possible.
> Maybe it's possible by creating a new storage. In this case, what is the
> widget object to be able to use variables (like in directory and filename
> field in the "file on disk" storage).
>
> My first use case is to include an exiftool in my workflow. Exiftool is an
> image to image command.
> I have a second use case to create a zip file with all exported images;
> this external command is not to be launched image by image but only once,
> at the end of the export job (feasible if I create a full new storage I
> think).
>
> Ps.: I use DT 2.6.3 but I think DT 3 don't have evolved on this point.
>
> Regards, Fabrice.
>
> 
> 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] Workflow question

2020-01-09 Thread William Ferguson
Make a style for each crop size with the crop and the sharpness.  Write a
lua script to duplicate the image, then apply the style.  The images are
automatically grouped with the original.  Furthermore, you could select
more than one image and have the sequence repeated on all the images.


Bill

On Thu, Jan 9, 2020 at 11:52 AM Sherwood Botsford 
wrote:

>
> Let me try this again:
>
> Master image at 4000 x 6000 pixels.
> I want to make the following images:
> 2800 x 4200
> 2000 x 3000
> 1400 x 2100
> 1000 x 1500
> 700 x 1000
> 500 x 700
> 350 x 500
> 250 x 350
>
> adjusting the sharpness for each level.
>
> This is a routine operation to create a set of pictures available in
> various formats.
>
> At the end of this, I want ALL of these images to still be in DT.
>
> ***
>
> Sometimes Photoshop is the best application for a task.  Or 'originals'
> may come as .psd files
>
> ***
>
> How about some generalized hooks within DT?
>
> E.g. Run an arbitrary command in a temporary folder, importing the file(s)
> back into DT.
>
> Is all this possible with Lua?
>
> Ok, ok.  I'll go play and see what I can figure out.
>
>
>
>
> Regards
>
> Sherwood
>
>
>
> On Thu, 9 Jan 2020 at 04:13, Matt Maguire 
> wrote:
>
>> Check out Keifer Hunniford's YouTube channel, he has a couple of videos
>> on this topic.
>>
>> On Thu, 9 Jan 2020 at 16:20, Coding Dave  wrote:
>>
>>> You can also group images. That was you keep your different versions
>>> tied to the original one.
>>>
>>> Kneops  schrieb am Do., 9. Jan. 2020, 09:00:
>>>
 I only edit few images outside of DT because most of the time they
 don't
 need extra editing. But when I do edit images in Gimp, DT saves them as
 tiff file next to the original raw file, so they are 'linked'.

 I tag images at the end when all editing is done, so then I won't have
 issues with untagged images because I tag the raw and tiff files at the
 end.



 Op 09-01-2020 om 00:11 schreef August Schwerdfeger:
 > * Cropping and sharpening are performed in Darktable as
 non-destructive
 > edits.
 >
 > * Resizing/scaling is done as part of the export process rather than
 as
 > a darkroom edit, although as far as I know there is not a ready-made
 > export target ("storage") that allows exporting the same image in
 > several resolutions/formats at once.
 >
 > * The automatic "master"-to-duplicate propagation of tags is also not
 > feasible out-of-the-box, as tags added to one version of an image
 cannot
 > be automatically propagated to the other versions. You could, of
 course,
 > select all the versions of a specific image when applying the tag, or
 if
 > this is not possible there are also some Lua add-ons [1]
 >  that would help copy
 the
 > new tag.
 >
 > --
 > August Schwerdfeger
 > aug...@schwerdfeger.name 
 >
 > On Wed, Jan 8, 2020 at 3:46 PM Patrick Shanahan >>> > > wrote:
 >
 > * Sherwood Botsford >>> > > [01-08-20 16:04]:
 >  > I've run into this a couple of times related to the catalog
 process:
 >  >
 >  > Consider:
 >  >
 >  > 1  I import a roll of images.
 >  > 2  I assign keywords to the images.
 >  > 3  I tweak them, some in various ways.
 >  > 4  I crop, resize and sharpen some of them.
 >  > 5 I export them in various resolutions and various file
 formats.
 >  >
 >  > Starting at step 4 I'm performing destructive edits.
 >
 > so at step 4 you have left dt and are editing in some other
 software?
 > dt does not due destructive edits.
 >
 >  > Is there a recommended workflow that would enable:
 >
 > use dt rather than some other software.
 >
 > --
 > (paka)Patrick Shanahan   Plainfield, Indiana, USA
 > @ptilopteri
 > http://en.opensuse.orgopenSUSE Community Member
 > facebook/ptilopteri
 > Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet
 > freenode
 >
  
 
 > 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...@lis

Re: [darktable-user] Lua Panel Group

2020-01-06 Thread William Ferguson
Correction https://github.com/darktable-org/lua-scripts

On Mon, Jan 6, 2020 at 8:38 PM William Ferguson 
wrote:

> The authoritative instructions are at
> https://github.com/darktable-org/lua-scripts/README.md
>
> On Mon, Jan 6, 2020 at 8:34 PM Andrew Greig 
> wrote:
>
>> Hi Patrick,
>>
>> There may be more than a few of us looking to install LUA scripts
>> properly, and watching this thread, where can we get the authoritative info
>> on how to proceed, please?
>>
>> Andrew Greig
>>
>> Melbourne Australia
>> On 7/1/20 12:28 pm, Patrick Shanahan wrote:
>>
>> * David Vincent-Jones   [01-06-20 
>> 19:30]:
>>
>> To be more precise I am running darktable 3.1.0+307~g6ef63d328
>>
>> ... and yes, lua is fully installed.
>>
>> The panel class/group is totally missing.
>>
>> On 06.01.20 23:33, Patrick Shanahan wrote:
>>
>> * David Vincent-Jones   [01-06-20 
>> 17:04]:
>>
>> Manjaro/Arch/git version ... updated.
>>
>> updated is not a version
>>
>> The lua panel group is not showing on my smaller laptop but does show on
>> my main system ...  am I missing something?
>>
>> lua support?
>>
>>
>> having it installed and installed properly for dt may be two different
>> things.
>>
>>
>> --
>>
>> 
>> 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 Panel Group

2020-01-06 Thread William Ferguson
The authoritative instructions are at
https://github.com/darktable-org/lua-scripts/README.md

On Mon, Jan 6, 2020 at 8:34 PM Andrew Greig  wrote:

> Hi Patrick,
>
> There may be more than a few of us looking to install LUA scripts
> properly, and watching this thread, where can we get the authoritative info
> on how to proceed, please?
>
> Andrew Greig
>
> Melbourne Australia
> On 7/1/20 12:28 pm, Patrick Shanahan wrote:
>
> * David Vincent-Jones   [01-06-20 
> 19:30]:
>
> To be more precise I am running darktable 3.1.0+307~g6ef63d328
>
> ... and yes, lua is fully installed.
>
> The panel class/group is totally missing.
>
> On 06.01.20 23:33, Patrick Shanahan wrote:
>
> * David Vincent-Jones   [01-06-20 
> 17:04]:
>
> Manjaro/Arch/git version ... updated.
>
> updated is not a version
>
> The lua panel group is not showing on my smaller laptop but does show on
> my main system ...  am I missing something?
>
> lua support?
>
>
> having it installed and installed properly for dt may be two different
> things.
>
>
> --
>
> 
> 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] Are there Ubuntu-19.10-Users with manual added lenses?

2019-12-08 Thread William Ferguson
I've never tried the script against an image with no identity.  I'll have
to "create" one and see what happens.

The Super-Takumar 50mm f1.4 is in the lensfun database.

Bill

On Sun, Dec 8, 2019 at 11:07 AM Anton Aylward 
wrote:

> On 07/12/2019 21:14, William Ferguson wrote:
> > There is a way to work around the mis or non identification of lenses.
> >
> > I've written a lua script to correct the lens information in the image
> database.
>
> Oh WOW!
>
> This might be a route to soling a problem I have.
> I favour using 'antique' lenses.
> https://www.youtube.com/watch?v=6rgp1Tfikv0
> with either adaptors or remounts
> https://www.youtube.com/watch?v=8kaN4Fj16wA&t=334s
> And in particular the Pentax Takumar 50mm 1.4 on my Sony:
> https://www.youtube.com/watch?v=oGH-Y4n0vSA
> https://www.youtube.com/watch?v=omeyL_siN8E
>
> The point of all of this is that these 'antique' lenses do not communicate
> with
> the camera body.  AT ALL.
> Not only are they 'not automatic' in any sense of the word, not only can
> the
> camera not adjust the aperture or the focus but the lens doesn't report its
> setting, nor does it report an identity.
>
> So you import  an 'anonymous' image into DT.  Hopefully you remember which
> lens
> you were using and hopefully it is in the database.
>
> Oh, is the Super Takumar 50mm 1.4 there?
> yes, for Sony E-mount, not A-mount
>
>
> --
> Capitalism is the astounding belief that the most wickedest of men will
> do the most wickedest of things for the greatest good of everyone.
> --John Maynard Keynes
>
> 
> 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] Are there Ubuntu-19.10-Users with manual added lenses?

2019-12-07 Thread William Ferguson
There is a way to work around the mis or non identification of lenses.

I've written a lua script to correct the lens information in the image
database.

It works by scanning selected images for the lens string.  You can specify
a replacement lens
string for any incorrect lens string.  Once the replacement strings are set
up, just select all the
images and hit apply the correct lens module.  Make sure the replacement
lens string matches
the lens string in the lensfun database.

This script is still a work in progress, but I use it all the time.  It's
available at https://github.com/wpferguson/extra-dt-lua-scripts/

One note:  If you correct a lot of images at one time, it can take some
time (5-7 minutes for 1000+ images).

Bill

On Sat, Dec 7, 2019 at 5:14 PM Аl Воgnеr  wrote:

> Am Sat, 7 Dec 2019 09:23:52 +0100
> schrieb Hervé Sainct :
>
> Hi,
>
> > Maybe, before asking for redesigning DT withanother library than exiv2
> > 'because in that distro it's old', I'd manually install a more recent
> > exiv2. Did you check what's available in Synaptic, possibly adding a
> > repo?
>
> Do you talk about Ubuntu? Other linux distris have a newer exiv2.
>
> I am "fighting" with thix exiv2 problem since 2 years and it looks like
> the problem will exist for 2 more years. Unfortunately it is not so
> easy for me to change the distro.
>
> https://launchpad.net/ubuntu/focal/s390x/exiv2/0.25-4ubuntu3
> exiv2 0.25-4ubuntu3 (s390x binary) in ubuntu focal
> Focal will be released in 2020.04 and is the coming LTS-version.
>
> Debian uses exiv2 0.25-4 since a very long time and 0.27.2-3 is in
> experimental (see https://packages.debian.org/search?keywords=exiv2 )
>
> So this means the next long time release of Ubuntu will still have 0.25
> including all the troubles with new lenses.
>
> The reason for the problems are API changes from 0.25 to 0.26 maybe,
> but other distros managed the change.
> https://www.exiv2.org/changelog.html
>
> On the other side:
>
> https://www.exiv2.org/manpage.html
> Exiv2 can read an optional configuration file ~/.exiv2 on Unix
>
> https://dev.exiv2.org/issues/0001035
> I'm going to accept this assignment for v0.26 as we can't consider this
> for v0.25
>
> https://dev.exiv2.org/boards/3/topics/3017
> However, Digikam and Darktable doesn't apply any lens correction, cause
> my lens is identified incorrectly ...
> You can fix this for yourself. In Exiv2 v0.26, you can put the name of
> your lens into the file ~/.exiv2 This is discussed here.
> http://dev.exiv2.org/issues/1328
>
> So there is no solution before 0.26.
>
> There are a lot of new lenses which lead to problems for Ubuntu
> users. I think **4** years are a very long time of problems and
> therefore my question, why a simple lens identification can make so
> much trouble and if there is not an alternative? Eg I can imagine a
> darktable configuration, use exiv2 or exiftool for lens identification.
> This should not be so much of coding.
>
> There will be new cameras and lenses always and there should be an easy
> workaround for users of new lenses. I like dt and would like to use it,
> but I have to look for another program if my equipment is not
> supported. But I will try a lot to use my fav dt.
>
> My lenscorrection files from Ubuntu 18.04 do not work out of the box in
> 19.10, but I think I will get it work again (1 already works again,
> very small changes are necessary and it is guessing what could help). I
> did things, which I would never do normally. I replaced the xml-files
> for the brands I use with the newest one from git, changed it from
>  to . So a lensfun
> update will replace these files. On the other side, I am pretty sure,
> there will be no update and if, it contains the new lenses hopefully.
> After the files from git my Pentax K-1 was recognized correctly, before
> it was recognized as K-S1 (a known bug since a long time)
>
> Before I tried:
> # lensfun-update-data
> Reading http://lensfun.sourceforge.net/db/versions.json …
> Reading http://wilson.bronger.org/lensfun-db/versions.json …
> Info: No newer database was found for last installed Lensfun.
>
> This didn't help for my lens-recognition.
>
> I tried to compile eviv2 and ended on dependencies / not available other
> packages. Any help is welcome. Please point me to the exact
> download-link, which I should use with Ubuntu 19.10. I gave up with
> Ubuntu 18.04 already because of dependency problems.
>
> I searched for repos of course
>
> https://www.exiv2.org/download.html does not show an Ubuntu 19.10
> specific repo. I have downloaded
> https://www.exiv2.org/builds/exiv2-0.27.2-Linux64.tar.gz and set the
> environment, so I can use a newer version in the shell, but this
> doesn't help with dt.
>
> Maybe there is an exiv2-repo for Ubuntu in OBS, but I could not find it.
>
> At the end I am very unsure if a newer exiv2 helps to solve my problem
> with the Ricoh GR III, but for sure with other unknown dslr-lenses.
>
> I try to attach a small screenshot, which shows

Re: [darktable-user] multiple instances order after migrating from 2.6 to 3.0.0rc1

2019-11-18 Thread William Ferguson
I managed to recreate this.  I'll go ahead and report it along with an
image and the edit so they can play with it.


Bill

On Mon, Nov 18, 2019 at 10:24 AM parafin  wrote:

> This wasn't reported before, you should create a new bug report here:
>
> https://github.com/darktable-org/darktable/issues/new?template=bug_report.md
>
>
> On Mon, 18 Nov 2019 15:57:03 +0100
> Émile  wrote:
>
> > Hi,
> >
> > I am using the 3.0.0rc1, migrating from 2.6.3 version.
> >
> > In previous 2.6 edits, I used to have multiples instances of a module:
> > - module 1 (applied in second position / on top on module panel)
> > - module (applied in first position / below on module panel)
> >
> > On 3.0.0rc1, they are now in the opposite order:
> > - module (applied in second position / on top on module panel)
> > - module1 (applied in first position / below on module panel)
> >
> > I compared the xmp files from 2.6 vs 3.0: the "multi_prioriy" of each
> > instance has not change, it just seems* that the resulting iop_order make
> > the instance appear in reverse order (* seems... to me! maybe it's just
> > that I don't understand something).
> >
> > Example from xmp (same data from 2.6/3.0 xmp, except the "iop_order"
> lines
> > just in 3.0):
> >   darktable:multi_name="1"
> >   darktable:multi_priority="0"
> >   darktable:iop_order="10.0"
> >
> >   darktable:multi_name=""
> >   darktable:multi_priority="1"
> >   darktable:iop_order="10.01000"
> >
> > I have read on github that there were some issues regarding the
> reordering
> > of modules. My use case here seems quite common, so I doubt that it is
> > something new, but I was not able to find a similar description and I
> don't
> > know what exactly I should do.
> >
> > A few questions to help me:
> > 1) could you confirm it is actually not normal (it seems to me, since it
> > changes the finale image, but maybe I missed something)?
> > 2) if it is unexpected, where should I report it (on github?)?
> > 3) do you think the iop order could be corrected afterwards (since the
> > multi_priority is still there)? If not, I should probably I restore my
> 2.6
> > data (rather than messing a lot of old edits).
> >
> > Thanks,
> > Émile
> >
> >
> 
> > 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] (Edge) sharpness and details in DT - lua sharpen after export

2019-11-01 Thread William Ferguson
Hi Bernhard,

You're welcome.

I've done some updates to the script lately.  I added gmic so that we could
use the gmic sharpening scripts.  Currently the only one included is the
Richardson/Lucy Deconvolve.

I also added presets, so that you could save settings and apply them.  And,
I included the settings I use for web and print in 2 presets named "web"
and "print".  Unfortunately, the presets in the script and the exporter
presets don't interact.  Therefore I end up having a "facebook" exporter
preset that sets the image size, type, and quality, then a postsharpen
facebook preset that sets the output path, sharpening engine and settings.

Bill

On Fri, Nov 1, 2019 at 11:31 AM Bernhard 
wrote:

> Hi Bill,
>
> thanks for this.
> I installed your repo and activated that sharpen script. It works well
> so far - only thing I found was that I could not save more than one
> preset using this addon in the export presets.
>
> Next thing on my todo list is to improve my own experience of what mode
> and parameters to set in which scenario (subject, export size etc.) ...
>
> William Ferguson schrieb am 14.10.19 um 17:53:
> > Bernhard, I've written a post sharpening lua script to do sharpening
> after
> > export using imagemagick.  It's not complete, nor ready for inclusion in
> > the lua scripts repository but it does work and is usable.
> btw: I found your script-master very useful at the time (and still do)
> so that I did a short german language introduction at the time.
> https://www.bilddateien.de/blog/2018-08-19-addons-fuer-darktable.html
> Thanks for that also.
>
> --
>
> regards
> Bernhard
>
> https://www.bilddateien.de
>
>
> 
> 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] (Edge) sharpness and details in DT

2019-10-14 Thread William Ferguson
Bernhard, I've written a post sharpening lua script to do sharpening after
export using imagemagick.  It's not complete, nor ready for inclusion in
the lua scripts repository but it does work and is usable.

Kneops, the problem with sharpening in darktable is that it gets lost when
you export especially if you resize the image.  Resizing after export
sharpens the resized and resampled image.

Lately real life has pretty much eliminated my programming time, so I've
been thinking about setting up a work-in-progress repository so that people
could have early access to the scripts I've been working on without having
to wait until they are completely finished.  I'll also include scripts that
will never make it into the lua scripts repository or that have been
rejected, but I find useful.  I already have a placeholder repository set
up at https://github.com/wpferguson/extra-dt-lua-scripts.  I'll go ahead
and start populating it, along with instructions about how best to include
it.

Bill



On Mon, Oct 14, 2019 at 9:45 AM Kneops  wrote:

> I'm defenitely not a programmer ;), but if, wouldn't it then be better
> to use image magick 'underneath' the DT sharpening tool, replacing the
> current sharpening method?
>
>
>
> Op 14-10-19 om 13:48 schreef Bernhard:
> > I'm not a programmer but I am wondering if it would be possible to write
> > a lua script that adds sharpening via image magick to the export options
> > of darktable...
> >
>
> 
> 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] Creating HDR images

2019-08-23 Thread William Ferguson
To use the lua scripts do the following

Open a terminal then:

cd .config/darktable
git clone https://github.com/darktable-org/lua-scripts lua
ln -s lua/tools/script_manager.lua luarc

start darktable
a module will be present at the lower left called script manager.  Open it,
select the scripts you want to run and enable them, and enjoy

There is more information at
https://github.com/darktable-org/lua-scripts/readme.md

Bill

On Fri, Aug 23, 2019 at 8:13 PM Niranjan Rao  wrote:

> Greetings,
>
> On darktable version 2.6.2, Ubuntu 18.04.
>
>
> I know how to generate HDR images in darktable, basically select images
> from lighttable and under selected images menu, click on create HDR.
> This works.
>
>
> However it's getting tedious for doing many images and getting error
> prone. So, I'm exploring batch options. Anyone has any ideas? I'm
> comfortable writing shell scripts or Java code if needed. I have not
> explored darkable/Lua combination yet.
>
>
> For batch mode I see I have to do following
>
> Figure out images which can be grouped together for HDR. I don't know if
> cameras write any special tag in raw file that might help. If not, only
> option seems to be check tags like time stamp, focal length and such
> that will remain same. For my purposes, these fields most likely will do
> the job and get me the names of the file unless I find a better way to
> identify the images.
>
>
> Once I have managed to find the group, next task is convince
> darktable/lua to create HDR from the selected images. This is where I am
> stuck. Quick search revealed
> https://github.com/darktable-org/lua-scripts which has few promising
> leads e.g. enfuse. I'm not clear how to use it.
>
>
> Looking for any pointers/help.
>
>
> Thanks in advance,
>
>
> Niranjan
>
>
> 
> 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] Learning to use filmic

2019-06-06 Thread William Ferguson
Here's the xmp file from my edit



On Thu, Jun 6, 2019 at 3:06 PM William Ferguson 
wrote:

>
>
> On Thu, Jun 6, 2019 at 1:55 PM David Vincent-Jones 
> wrote:
>
>> My approach: If the exposure is 'within reason', start by applying one
>> of the presets; this will establish a curve based on the dynamic range of
>> the data. Then you can start to play with the finer points. I agree that
>> from the ground up filmic can be a tough nut to crack. Below the surface
>> filmic knows more about dynamic range than we know so relying on the
>> presets for the initial setting is important (IMO)
>>
>> David
>> On 2019-06-06 9:45 a.m., dt-l...@stefan-klinger.de wrote:
>>
>> Hi!
>>
>> I'm trying to use filmic instead of base curve, but I have to say:
>> It's not easy — which is not surprising, because I have never modified
>> the base curve before, so the slightest need for adjustments increases
>> the workload by an infinite factor, so no complaint here.
>>
>> So I'm going through a couple of images, disabling base curve and
>> tone curve, and try to get a pleasing result, not too far off my
>> original edit, with filmic.  Of course, I'm not expecting exactly
>> identical results, because if filmic is better or more correct by
>> whatever standard, it should be different.
>>
>> It sometimes works, but I tend to fail miserably.
>>
>> Here's an example: Version 0 is with base curve and tone curve,
>> version 1 is derived from that, replacing both curves with filmic:
>>
>> filmic is an alternative to base curve, so it gets the image to a place
> that the artistic edits can be applied.  In other words, it only replaces
> base curve.
>
>> https://depot.s5k6.net/10n30MkVQWgAMWKO/
>>
>> To me, the terracotta flowerpot seems too red, the rusted steel on the
>> wooden barrel looks wrong, the wood seems to loose structure, and the
>> whole impression is not that sunny as it was on that day.
>>
>>
> Adjust the middle gray luminance until the terracotta is the color you
> remember.
>
>> This is not my first or only try with filmic on this picture.
>> Generally I fail to get the sunny impression, the rust and the wood
>> structure without oversaturating the terracotta.  I don't even get it
>> in the right ballpark.
>>
>> Any hints for a general approach?  Or where I've messed up in this
>> particular pic?
>>
>> I turn everything off, then adjust the exposure so that there is space
> between the histogram and the sides of the histogram window.  I start
> filmic and adjust the middle gray until the histogram is centered or my
> subject is exposed correctly.  Then I adjust the white and black to expand
> the histogram back to the edges.  I then adjust the contrast, latitude, and
> shadow/highlight balance until I get the best look I can.  If the image is
> really washed out, then I turn on the chrominance preservation and mess
> with the saturation sliders.
>
> At this point I can start doing edits with tone curve, color balance,
> etc
>
>>
>> Just as a note, sometimes I don't end up with a curve in the filmic curve
> window.  One other note, sometimes base curve works better than filmic for
> certain images.  I was shooting sports (basketball in a gym) and tried
> processing with filmic, but couldn't get a good looking image, IMO, until I
> went back to basecurve.  When I shoot portraits, filmic usually is better
> than basecurve, but sometimes I've had to use basecurve, and other times
> I've used neither.
>
>> I've read the doc [1], and I have the subtle feeling that I'm missing
>> something: I don't know how to transfer the technical stuff to an
>> artistic problem.  And I've seen some videos, but I'm sorry to say
>> that I find them of little use.
>>
>> Cheers
>> Stefan
>>
>> 
>> [1] https://darktable.gitlab.io/doc/en/tone_group.html#filmic
>>
>>
>> Bill
>
>> 
>> 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



DSC_4823.NEF.xmp
Description: Binary data


Re: [darktable-user] Learning to use filmic

2019-06-06 Thread William Ferguson
On Thu, Jun 6, 2019 at 1:55 PM David Vincent-Jones 
wrote:

> My approach: If the exposure is 'within reason', start by applying one of
> the presets; this will establish a curve based on the dynamic range of the
> data. Then you can start to play with the finer points. I agree that from
> the ground up filmic can be a tough nut to crack. Below the surface filmic
> knows more about dynamic range than we know so relying on the presets for
> the initial setting is important (IMO)
>
> David
> On 2019-06-06 9:45 a.m., dt-l...@stefan-klinger.de wrote:
>
> Hi!
>
> I'm trying to use filmic instead of base curve, but I have to say:
> It's not easy — which is not surprising, because I have never modified
> the base curve before, so the slightest need for adjustments increases
> the workload by an infinite factor, so no complaint here.
>
> So I'm going through a couple of images, disabling base curve and
> tone curve, and try to get a pleasing result, not too far off my
> original edit, with filmic.  Of course, I'm not expecting exactly
> identical results, because if filmic is better or more correct by
> whatever standard, it should be different.
>
> It sometimes works, but I tend to fail miserably.
>
> Here's an example: Version 0 is with base curve and tone curve,
> version 1 is derived from that, replacing both curves with filmic:
>
> filmic is an alternative to base curve, so it gets the image to a place
that the artistic edits can be applied.  In other words, it only replaces
base curve.

>
> https://depot.s5k6.net/10n30MkVQWgAMWKO/
>
> To me, the terracotta flowerpot seems too red, the rusted steel on the
> wooden barrel looks wrong, the wood seems to loose structure, and the
> whole impression is not that sunny as it was on that day.
>
>
Adjust the middle gray luminance until the terracotta is the color you
remember.

>
> This is not my first or only try with filmic on this picture.
> Generally I fail to get the sunny impression, the rust and the wood
> structure without oversaturating the terracotta.  I don't even get it
> in the right ballpark.
>
> Any hints for a general approach?  Or where I've messed up in this
> particular pic?
>
> I turn everything off, then adjust the exposure so that there is space
between the histogram and the sides of the histogram window.  I start
filmic and adjust the middle gray until the histogram is centered or my
subject is exposed correctly.  Then I adjust the white and black to expand
the histogram back to the edges.  I then adjust the contrast, latitude, and
shadow/highlight balance until I get the best look I can.  If the image is
really washed out, then I turn on the chrominance preservation and mess
with the saturation sliders.

At this point I can start doing edits with tone curve, color balance,
etc

>
> Just as a note, sometimes I don't end up with a curve in the filmic curve
window.  One other note, sometimes base curve works better than filmic for
certain images.  I was shooting sports (basketball in a gym) and tried
processing with filmic, but couldn't get a good looking image, IMO, until I
went back to basecurve.  When I shoot portraits, filmic usually is better
than basecurve, but sometimes I've had to use basecurve, and other times
I've used neither.

>
> I've read the doc [1], and I have the subtle feeling that I'm missing
> something: I don't know how to transfer the technical stuff to an
> artistic problem.  And I've seen some videos, but I'm sorry to say
> that I find them of little use.
>
> Cheers
> Stefan
>
> 
> [1] https://darktable.gitlab.io/doc/en/tone_group.html#filmic
>
>
> Bill

> 
> 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 reload sidecar

2019-05-16 Thread William Ferguson
On Thu, May 16, 2019 at 12:35 PM  wrote:

> William Ferguson (2019-May-16, excerpt):
> > Lets try removing the image from the database, then importing it to
> > see if that forces a sidecar load.
>
> Okay, trying this.  How do I delete an image from the database?
> Searching for `delete` yields [1] then [2].  I really find darktable's
> Lua documentation frustratingly sparse.
>

They do the same thing, just 2 different ways to access it.

I use the online manual because I can click through to the data types when
I'm not sure what they are. However, the online manual isn't always up to
date so if you're looking for the newest features then you might have to
generate a manual from source.


> I've ended with this:
>
> for _, i in pairs(dt.gui.action_images) do
> [...]
> if (os.execute(cmd)) then
> local path = tostring(i) -- why not a field in `i`?
>
local path = i.path .. "/" .. i.filename

> i:delete()
> dt.database.import(path)
> end
> [...]
> end
>
> Works.  But there are downsides:
>
>   * It works more often than not, but sometimes the images disappear
> completely, or are replaced by a skull (although still present the
> file system, DT insists on "not available").  Cannot reliably
> reproduce.  Why?
>

I'm not exactly sure why this happens, but I believe it's a timing issue.
I've not tried this specific set of actions, but I've done other display
manipulations and had to wait between operations for the display to catch
up.  You could try adding a dt.control.sleep(250) between the delete and
the import and see if that helps.  That would give you 1/4 of a second wait
between operations. You might have to vary the timing a little bit to see
what works.


>   * All images get a new image ID, and probably as a consequence,
>
>   * the selection of images is lost (meaning: deselected).
>

You could remove the deleted file from the selection and add the imported
one.  The selection is just a table, so you can add and remove image
items.  Then your code could

 for i,img in pairs(dt.gui.action_images) do
[...]
   if (os.execute(cmd)) then
local path = img.path .. "/" .. img.filename
img:delete()
dt.gui.action_images[i] = dt.database.import(path)
end
[...]
end


> Is there any smart way to reload an XMP file?
>

There isn't a way to load the xmp file from lua.  It would require a change
to the API.


> Cheers
> Stefan
>
> 
> [1] https://www.darktable.org/lua-api/index.html#d0e4845
> [2]
> https://www.darktable.org/lua-api/types_dt_lua_image_t.html#types_dt_lua_image_t_delete
>
>
> --
> http://stefan-klinger.deo/X
> I prefer receiving plain text messages, not exceeding 32kB. /\/
>   \
>
> 
> 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 reload sidecar

2019-05-16 Thread William Ferguson
On Thu, May 16, 2019, 3:45 AM  wrote:

> Yes, Remco has basically said all there is to say.
>
> I did not expect DT to understand extra metadata.  To the contrary:
> I'm expecting DT to play nicely with metadata it does not know.  For
> every tag the DT devs implement, I can ask for anoher one — that's
> exactly the opposite of KISS and forces the implementation of
> everything into DT.
>
> It might not even be about metadata.  I'm testing how DT cooperates
> with external tools without replicating them.
>
> So triggering a reload of a changed XMP should incorporate changes in
> everything DT understands, e.g., time, author, just like the reload DT
> offers on restart when an XMP file has changed.  It should not add new
> tables to the database.
>
> I'm not sure about what architecture Michael envisions precisely.  But
> the tools I'm asking for are already present in DT, I just need to
> trigger one step from Lua.
>
> How?
>

Lets try removing the image from the database, then importing it to see if
that forces a sidecar load.


> Cheers
> Stefan
>
>
> --
> http://stefan-klinger.deo/X
> I prefer receiving plain text messages, not exceeding 32kB. /\/
>   \
>
> 
> 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 reload sidecar

2019-05-15 Thread William Ferguson
On Wed, May 15, 2019 at 5:50 PM  wrote:

> William Ferguson (2019-May-15, excerpt):
> > Without knowing more specifics about what you're trying to do,
> > that's the best I can come up with at the moment.
>
> I'm trying to figure out how difficult it would be to satisfy Kneops'
> request about editing more metadata fields, following the KISS
> principle as I had suggested:
>
>   * Use Lua only to describe a GUI module in DT's lightroom (enter
> metadata into fields) and to hand the slected images and desired
> task off to any other program.
>
>   * Use `exiv2` to modify the metadata in the XMP file(s) of selected
> image(s).  Or `exiftool`, or whatever.
>
>   * Make DT read the XMP file(s) and update its database.
>

This is the problem.  Darktable doesn't know what to do with the extra
metadata in the xmp, so all it's going to do is ignore the extra metadata
(best case), or ignore the xmp because it thinks it's corrupted (worst
case)..  In order for darktable to use it, someone is going to have to add
all the database tables and supporting code to store, retrieve, and use the
information.  Then the exporter needs modified to embed the additional data
in the exported file.

I just did a quick look at the IPTC tags.  Some of the records are fixed
format with certain data in specified columns.  Some records are use codes
to mean different things.  Each of the coded fields would require a table
in the database for lookup, plus tables to contain the records.  This isn't
trivial to implement.  It's probably not too difficult, but it's a lot of
work.


> The first two points are easy, the third one is missing.  This has to
> be triggered from the Lua script, anything else (reimport through GUI,
> or restart darktable) would be awkward and cumbersome.
>
> I imagine this to be one possible way for darktable to cooperate with
> other tools nicely, i.e., in a rather traditional Linux style, just as
> I've described in my remark to Kneops' request.
>
> Looking at Lua from a programming language perspective, it's certainly
> not a language one would want to write larger applications in (there's
> not enough structure in the language to enforce careful programming,
> plus a bunch of decign choices rather encouraging error-prone
> practices).  So I'd rather use it for thin layers of glue code: I do
> not want to issue SQL statements to darktable's database, in order to
> replicate the changes in metadata.  `exiv2` can change XMP files, and
> darktable can read them.  I just need to programmatically tell them to
> do so.  And that would probably be in Lua?
>
> An interesting question will be how to extract metadata from images
> through `exiv2`, and hand them to darktable using the means described
> above.  Writing a parser in Lua would certainly not qualify as glue
> code any more.
>
> Cheers
> Stefan
>
>
> --
> http://stefan-klinger.deo/X
> I prefer receiving plain text messages, not exceeding 32kB. /\/
>   \
>
> 
> 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 reload sidecar

2019-05-15 Thread William Ferguson
On Wed, May 15, 2019 at 12:31 PM  wrote:

> William Ferguson (2019-May-15, excerpt):
> > > Hi, one more Lua question:
> > >
> > > How can I trigger darktable to reload a sidecar file of an
> > > already-imported file (and update its databas accordingly)?
>
> > You could try importing the image using darktable.database.import().
>
> Thanks, I've tried this, does not work.  That was my first approach,
> and now I feel stupid that I've not mentioned this.  Sorry.
>
> Any other idea?
>
> I have 2 ideas...

1. Can you write a module for the metadata changes and then apply the
changes to the selected images in llighttable?

2. Write a lua-script that reads the updated sidecars and updates the
information in darktable.

Without knowing more specifics about what you're trying to do, that's the
best I can come up with at the moment.

>
> --
> http://stefan-klinger.deo/X
> I prefer receiving plain text messages, not exceeding 32kB. /\/
>   \
>


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

Re: [darktable-user] LUA reload sidecar

2019-05-15 Thread William Ferguson
Hi Stefan,

On Wed, May 15, 2019 at 8:34 AM  wrote:

> Hi, one more Lua question:
>
> How can I trigger darktable to reload a sidecar file of an
> already-imported file (and update its databas accordingly)?
>
> I have a script that externally changes the Xmp metadata of a file.
> Currently I need to restart darktable, which then recognises the
> modified sidecars and asks me to reload them.  I want to do this from
> the Lua script immediately.
>

You could try importing the image using darktable.database.import().  I'm
not sure if it would pick up the updated sidecar information or not, but
you could try it and see.

>
> Cheers
> Stefan
>
>
> --
> http://stefan-klinger.deo/X
> I prefer receiving plain text messages, not exceeding 32kB. /\/
>   \
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>
Regards,

Bill


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

Re: [darktable-user] LUA remove lighttable module

2019-05-15 Thread William Ferguson
Hi Stefan,

On Wed, May 15, 2019 at 6:11 AM  wrote:

> Hi, two Lua questions:
>
> After registering a module using
>
> dt.register_lib( ... , {[dt.gui.views.lighttable] =
> {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}, ...)
>
> how can I remove it again?  I was looking for a `dt.unregister_lib`,
> but could not find one.
>
There isn't a way to unregister a lib currently.  The only way to get rid
of it is to disable the script and restart darktable.

>
> Also, what's the precise semantics of `{[dt.gui.views.lighttable] =
> {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}`, and where would I find
> documentation about the alternatives?
>
The lua api is documented at https://www.darktable.org/lua-api/index.html
Go to darktable.register_lib, then click the types.dt_ui_container_t link
to get a list of the choices.

>
> Cheers
> Stefan
>
>
> --
> http://stefan-klinger.deo/X
> I prefer receiving plain text messages, not exceeding 32kB. /\/
>   \
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>
Regards,

Bill


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

Re: [darktable-user] change exposure all pictures

2019-05-05 Thread William Ferguson
On Sun, May 5, 2019 at 8:26 PM David Vincent-Jones 
wrote:

> I am having a problem with this same process. When I go to the first image
> on a set and make some basic adjustments, I expect to be able to copy this
> history stack to the rest of the series. I make a 'copy' on image-1,
> 'discard' and 'compress' the stack on all other images and finally 'paste'
> to all except the first image. ... This is not working, I am unable to
> flush any default settings. Is there a reason?
>
When you 'discard' it resets the image to the default settings.  You could
make the changes to the first image, including disabling whatever default
settings you would like, then do a copy all, set the mode to overwrite, and
do a paste all to the other images.

> David
> On 2019-05-05 12:43 p.m., William Ferguson wrote:
>
> Change the exposure in one picture.  Go to lighttable mode.  In the
> modules on the right, open history stack.  Select the image you modified,
> then click copy in the history stack module.  Uncheck everything except the
> exposure in the dialog, then click ok.  Select the images you want to apply
> the exposure to.  In the history stack make sure the mode is append, then
> click paste.  Click ok in the history stack dialog box and the exposure
> gets applied to the selected images.
>
> Regards,
>
> Bill
>
> On Sun, May 5, 2019 at 3:27 PM mick crane  wrote:
>
>> hello,
>> I just look to change the "exposure" on a bunch of jpgs.
>> I change exposure level on 1 picture then in a loop through the
>> directory
>>
>> /~ darktable-cli $i the_OK_pic.xmp $out
>>
>> Is good but I wonder can I speed it up ?
>> I don't know how it works.
>> If it looks through everything or maybe I need to change one thing ?
>>
>> mick
>>
>>
>>
>> --
>> Key ID4BFEBB31
>>
>> 
>> 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] change exposure all pictures

2019-05-05 Thread William Ferguson
Change the exposure in one picture.  Go to lighttable mode.  In the modules
on the right, open history stack.  Select the image you modified, then
click copy in the history stack module.  Uncheck everything except the
exposure in the dialog, then click ok.  Select the images you want to apply
the exposure to.  In the history stack make sure the mode is append, then
click paste.  Click ok in the history stack dialog box and the exposure
gets applied to the selected images.

Regards,

Bill

On Sun, May 5, 2019 at 3:27 PM mick crane  wrote:

> hello,
> I just look to change the "exposure" on a bunch of jpgs.
> I change exposure level on 1 picture then in a loop through the
> directory
>
> /~ darktable-cli $i the_OK_pic.xmp $out
>
> Is good but I wonder can I speed it up ?
> I don't know how it works.
> If it looks through everything or maybe I need to change one thing ?
>
> mick
>
>
>
> --
> Key ID4BFEBB31
>
> 
> 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 scripts disappeard (but present in folder)

2019-04-27 Thread William Ferguson
The lua API version is higher in the git version due to several API
changes.  If you're on macos or linux then do:

cd ~/.config/darktable/lua
git pull
cd ..
rm luarc
ln -s lua/tools/script_manager.lua luarc

and you should be good to go.  The newest version of script_manager, as
well as all the lua scripts, check the minimum api version required to run
so they are not as sensitive to API version changes.

If you're on windows:

open a terminal
cd AppData\Local\darktable\lua
git pull
copy tools\script_manager.lua ..\luarc

and again, you should be good to go.


Bill

On Sat, Apr 27, 2019 at 8:11 PM David Vincent-Jones 
wrote:

> My scripts all appear to be working correctly but my 'script manager'
> appears to have disappeared from the bottom of the lighttable left column
> as a result of a recent git update.
> On 2019-04-27 4:59 p.m., William Ferguson wrote:
>
> If depends on how your are managing them.  If you are using
> script_manager, then go to the contrib tab and click the Enable GIMP
> button.  If you are using a luarc file, i.e. ~/.config/darktable/luarc,
> then make sure it has the line require "contrib/gimp".
>
> Bill
>
> On Sat, Apr 27, 2019 at 7:49 AM Kneops  wrote:
>
>> I wanted to export an image to Gimp and saw that is was not there anymore
>> in the export presets. So I checked the LUA tab in the DT preference window
>> and it seems all LUA scripts are removed, except two. I checked the LUA
>> folder under .config/.../LUA, but all scripts are still there. How can I
>> get them back?
>>
>>
>>
>> 
>> 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 scripts disappeard (but present in folder)

2019-04-27 Thread William Ferguson
If depends on how your are managing them.  If you are using script_manager,
then go to the contrib tab and click the Enable GIMP button.  If you are
using a luarc file, i.e. ~/.config/darktable/luarc, then make sure it has
the line require "contrib/gimp".

Bill

On Sat, Apr 27, 2019 at 7:49 AM Kneops  wrote:

> I wanted to export an image to Gimp and saw that is was not there anymore
> in the export presets. So I checked the LUA tab in the DT preference window
> and it seems all LUA scripts are removed, except two. I checked the LUA
> folder under .config/.../LUA, but all scripts are still there. How can I
> get them back?
>
>
>
> 
> 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] Re: ATTENTION: darktable master may have some GUI glitches

2019-04-17 Thread William Ferguson
Can we style the bauhaus widgets?  I'm working on a condensed version of
the stylesheet to better fit the 1920x1080 display on my laptop.  I've
managed to get the appearance close to the 2.6.x appearance except for the
bauhaus widgets.  Looking at the code it looks like I can specify a font,
but not the size.

Thanks,

Bill

On Mon, Apr 15, 2019 at 3:51 PM Pascal Obry  wrote:

> Le lundi 15 avril 2019 à 12:37 -0700, David Vincent-Jones a écrit :
> > I have put the Roboto font into place  I would assume that if
> > this font is required as a part of the theme than eventually the font
> > will be installed as a part of the distribution.
>
> No it is not required. It is the best option proposed but a list of
> font os proposed and the first available will be picked up.
>
> --
>   Pascal Obry /  Magny Les Hameaux (78)
>
>   The best way to travel is by means of imagination
>
>   http://www.obry.net
>
>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>
>
> 
> 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] Export/Import Again

2019-04-16 Thread William Ferguson
What the script does is add a new export target, file to collection.  You
select the image you want to export, select the file format, then do the
export.  The exported image is imported back into lighttable and grouped
with the original image.  For instance let's say I have an image
_7D_1234.cr2.  I select it and go to the export module and pick file to
collection as my export target.  I select jpg as my file format.  I click
export, the image is exported, then imported back into lighttable.  It is
grouped with _7D_1234.cr2.


Bill

On Tue, Apr 16, 2019 at 12:38 PM David Vincent-Jones 
wrote:

> Bill Ferguson responded to my original query and did provide an answer but
> the export2collection lua script basically makes a full (hidden) duplicate
> of an existing file and was not exactly what I started to look for.
>
> Here is my scenario: I have a completed processed image and I wish to make
> a .tiff/.jpg or other output format that I may want to use for printing or
> other purpose. I want that export to be directly imported into the
> originating folder without having to take the added step of a separate
> import.
>
> This is simply asking that the current export $(FILE_FOLDER) automatically
> does the import process or  possibly the export2collection lua script could
> be extended to that purpose.
>
> David
>
>
>
> 
> 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 script "Enable Generate Image Txt" question

2019-03-14 Thread William Ferguson
On Thu, Mar 14, 2019 at 11:26 PM Patrick Shanahan  wrote:

> * Sheridan Price  [03-14-19 22:55]:
> > Hello;
> >
> > I find the idea of having a mouse over text file show up over a photo a
> > great idea as I can use it to remind myself of things yet to do to the
> > image. BUT...though it seems to set up the LUA options in the darktable
> > preferences I can't figure out how to make it actually create a text file
> > and input my text string into it. Has anyone used this script? Can you
> help?
>

> you don't say but if you are on windows this may be incorrect:
>

The script only runs on linux.  The script just ensures that a text sidecar
file exists for the image.
The sidecar file only displays the text when you are zoomed in to one
image.  I tried it and it displays filename, exposure info, focal length
and ISO.

  darktable preferences (the wheel above the images display on lighttable)
>   lua
>   create txt sidecars  (3rd option on my display)
>
> but I don't believe it works as you think.  above will generate *.txt
> files matching your images displaying exif data and filename, but I see no
> way to display it over an image.
>
> but...
>
>   darktable preferences
>   gui options
>   miscellaneous (last group)
>   overlay txt slidecar over ... (4th from last)
>
> will display the filename and some of the exif (shot) data on mouse-over
> image in lighttable and filmstrip in darkroom.  but afaik, not editable.
>
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Registered Linux User #207535@ http://linuxcounter.net
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>
Bill


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

Re: [darktable-user] Remove only one item from history stack

2019-01-18 Thread William Ferguson
Ideally you could create a style with the watermark module set to off, then
apply the style and get rid of the watermark.  But, there is a bug either
with the watermark module or the history stack and this doesn't work.  I
filed a bug report, but haven't had a chance to work on it yet.

In the meantime there is a workaround.  You can create a blank svg file,
add it to your watermarks directory, then create a style to apply it.
Then, when you want to remove the watermarks, you can select all the files
and apply the blank watermark.  I've attached my blank svg file and the
style I use to apply it.

Hope this helps,

Bill

On Fri, Jan 18, 2019 at 3:25 AM Jean-Luc Lacroix 
wrote:

> Hi Remco,
>
> Indeed, but I wanted to remove the watermarks from *all* images in a
> collection in one go.
>
> Cheers.
>
> Jean-Luc
>
> On 18/01/19 09:20, Remco Viëtor wrote:
> > On vendredi 18 janvier 2019 09:13:17 CET Jean-Luc Lacroix wrote:
> >> Ok, found it.
> >>
> >> Select one image, put the watermark entry to "off", in LT copy history
> >> stack of that image deselect all items except the "watermark (off)" one
> >> and copy that to all.
> >>
> >> Cheers.
> > Just setting the watermark to "off" should be enough to remove the
> watermark
> > from the image.
> > After that, compressing the history stack will get rid of the original
> entry
> > in the stack (along with any other superseeded entries).
> >
> > Remco
> >
> >
> >
> >
> 
> > 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



watermark-blank.dtstyle
Description: Binary data


Re: [darktable-user] feature request: History Stack in Lighttable

2018-12-28 Thread William Ferguson
Hi Pascal,

On Fri, Dec 28, 2018 at 10:33 AM Pascal Obry  wrote:

>
> Hello,
>
> I suppose this could be useful but it is quite dangerous. So at least
> such action should be controlled by a dialog asking for confirmation
> for this action. Indeed, you could have selected some part of the
> history stack to "see" how it look and forget to select back the top of
> the history stack before leaving the darkroom.
>
Nice catch.  I didn't realize that the history stack would work this way.
Just tested it and you are correct.


>
> This could have been the case for many images. So a selection of all
> images in the lighttable and this action will be disastrous.
>

I'll see if I can put a check in to make sure the current history stack
item is the top and not somewhere in the middle.  If it is, then I'll just
leave the history stack alone with a message that it wasn't compressed.

>
> Best,
>
> --
>   Pascal Obry /  Magny Les Hameaux (78)
>
>   The best way to travel is by means of imagination
>
>   http://www.obry.net
>
>   gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>
Thanks,

Bill


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

Re: [darktable-user] feature request

2018-12-27 Thread William Ferguson
I coded this up awhile ago for 2.4.x.  I submitted a PR and it was
rejected.  If you submit a feature request at
https://redmine.darktable.org/issues/ and enough people get on board, I can
dust the code off and make it work with 2.6.x and resubmit it.


Bill

On Thu, Dec 27, 2018 at 4:35 AM Stefano Fornari 
wrote:

> Hello,
>
> it would be very useful (IMHO) to have the "compress history" action in
> lightable too in the history stack section.
>
> Thanks for the great software!
>
> Ste
>
> 
> 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] Bulk export without crop settings

2018-12-17 Thread William Ferguson
Submitted PR 1908 to add style argument to darktable-cli.

Bill

On Sun, Dec 9, 2018 at 9:11 AM Patrick Shanahan  wrote:

> * Terry Duell  [12-08-18 23:00]:
> > Hello Patrick,
> >
> > On Sun, 09 Dec 2018 13:18:43 +1100, Patrick Shanahan 
> > wrote:
> >
> > Thanks for your advice.
> >
> > >
> > > backup your xmp files,
> > >   run a script to remove the crop information from the xmp files
> > >   import the images into a temporary library
> > >   export the images
> > >   remove the temp library
> > >   replace the altered xmp files from backup
> > >
> >
> > This leads me to a couple of questions.
> > Is there a reference manual for the xmp files, detailing the syntax?
> > Looking at an xmp file I don't see any reference to 'crop', but I do see
> > 'clipping'.
> > Is 'clipping' what I'm looking for, and is it enough to simply set
> > 'enabled=0'?
>
> not tried, but take a throw-away image for testing and see what happens.
> I assume that "clipping" is the crop module, that is part of the module
> name, but shortened.  but should be simple to test.  I am *not* a
> developer, just an old user and see the possibility that the above
> approach might work.  someone else mentioned making a "style" but I am not
> that familiar with using styles.
>
> note that you probably need to remove all the lines in the "clipping"
> group.  but you should be able to determine that when you test.
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Registered Linux User #207535@ http://linuxcounter.net
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
>
> 
> 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] darktable stable and unstable on the same machine - profile question

2018-12-11 Thread William Ferguson
--cachedir affects the cache.  I haven't run into any problems with the
cache and running multiple versions (but maybe I've been lucky :-D)

for compiling cd to the darktable directory, then
./build.sh --prefix /opt/darktable26 --build-type Release

That compiles it then I use sudo and run the command at the end of
compilation to install

On Tue, Dec 11, 2018 at 2:04 AM Bernhard 
wrote:

> thanks so far, to summarize
> - put binaries in a separate directory (obviously)
> - use --configdir for the corresponding profile => thanks for that hint
> - use a different folder to import the pictures from => makes sense to
> avoid incompatible xmps
>
> Does the --configdir option also influence the .cache folder? (although
> I don't think that matters)
>
> I have to deal now with compiling binaries etc. and find out about
> --prefix.
> Until now I never did something else than install from repo or ppa.
>
> --
>
> regards
> Bernhard
>
> https://www.bilddateien.de
>
>
>
> William Ferguson schrieb am 11.12.18 um 01:22:
> > I'm running ubuntu 18.04 and running multiple versions of darktable.
> > I have 2.4.4 installed from Pascal's PPA.  I've also downloaded and
> > compiled the current git and installed it at /opt/darktable25.  Then
> > I've got the current release candidate installed at /opt/darktable26.
> > I created a bin directory in my home directory and made one line
> > scripts to start the git and release candidates with their own config
> > directories, i.e.:
> >
> > ~/bin/darktable25
> > /opt/darktable25/bin/darktable --configdir $HOME/.config/darktable25
> >
> > ~/bin/darktable26
> > /opt/darktable26/bin/darktable --configdir $HOME/.config/darktable26
> >
> > and a clean version of the release candidate
> > ~/bin/darktable26c
> > /opt/darktable26/bin/darktable --configdir $HOME/.config/darktable26clean
> >
> > I keep my 2.4.4 images in ~/Pictures/Darktable, 2.5 in
> > ~/Pictures/Darktable25, release candidate in ~/Pictures/Darktable26
>
> Anders Lund schrieb am 10.12.18 um 22:18:
> > Do not attempt my suggestion without backing up your data, most
> importantly
> > ~/.config/darktable
> >
> > I'd try this:
> >
> > Install the development version under a different prefix than normal, to
> avoid
> > the stable binarys being overwritten.
> >
> > Run the development version with a different config directory, that is
> using the
> > --configdir  option.
>
>
> 
> 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] darktable stable and unstable on the same machine - profile question

2018-12-10 Thread William Ferguson
I'm running ubuntu 18.04 and running multiple versions of darktable.  I
have 2.4.4 installed from Pascal's PPA.  I've also downloaded and compiled
the current git and installed it at /opt/darktable25.  Then I've got the
current release candidate installed at /opt/darktable26.  I created a bin
directory in my home directory and made one line scripts to start the git
and release candidates with their own config directories, i.e.:

~/bin/darktable25
/opt/darktable25/bin/darktable --configdir $HOME/.config/darktable25

~/bin/darktable26
/opt/darktable26/bin/darktable --configdir $HOME/.config/darktable26

and a clean version of the release candidate
~/bin/darktable26c
/opt/darktable26/bin/darktable --configdir $HOME/.config/darktable26clean

I keep my 2.4.4 images in ~/Pictures/Darktable, 2.5 in
~/Pictures/Darktable25, release candidate in ~/Pictures/Darktable26

Bill

On Mon, Dec 10, 2018 at 6:41 PM David Vincent-Jones 
wrote:

> I suspect that running multiple versions may well provide multiple
> headaches.
>
> darktable is complex enough in a single version. KISS .. is best advice.
> On 2018-12-10 1:00 p.m., August Schwerdfeger wrote:
>
> I have often run several different versions of Darktable
> (manually-compiled) on my machine.
>
> Due to database incompatibilities between the major versions of Darktable,
> you either have to create a second user account as Bruce suggests, or use
> the '--configdir' command-line option to specify a different configuration
> directory/database for each version.
>
> I imagine that there would be similar compatibility issues involved if you
> imported image files into more than one such database and the sidecar files
> were overwritten, but I have never done this, so I cannot say for sure.
>
> --
> August Schwerdfeger
> aug...@schwerdfeger.name
>
> On Mon, Dec 10, 2018 at 2:52 PM Bruce Williams  wrote:
>
>> Others may have a more suitable or elegant answer, but I've been
>> considering a similar proposition Which is to simply create a second
>> user account on the Linux machine and run the unstable/development version
>> of darktable under that account.
>> Given that all the processing is stored in sidecar files, both user
>> accounts (and therefore, both the stable and unstable releases) would be
>> able to read the same folders and see the same sidecar files.
>> I guess there might be issues when the stable release tried to look at
>> sidecar files which were created in the unstable version.
>> Thoughts?
>> Cheers,
>> Bruce Williams.
>>
>> -- Forwarded message -
>> From: Bernhard 
>> Date: Tue., 11 Dec. 2018, 07:41
>> Subject: [darktable-user] darktable stable and unstable on the same
>> machine - profile question
>> To: darktable-user 
>>
>>
>> Hi,
>>
>> currently I am considering to move away from Linuxmint (too many issues
>> with my machine) and while looking through the Manjaro/Arch Repos I
>> found darktable-git as well as darktable 2.4.x.
>>
>> This raised the following question:
>> Is there a possibility to have both versions installed on the same
>> machine to run them independently from each other?
>> Do they use the same profile - and more important: is there a way to let
>> them operate on their specific profile?
>>
>> That would enable me (and possibly others) to do my work with darktable
>> stable version and also run the development version from time to time -
>> especially at this time of the year with the release candidates around -
>> and help report bugs etc.
>>
>> --
>>
>> regards
>> Bernhard
>>
>> https://www.bilddateien.de
>>
>>
>> 
>> 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] Style previews

2018-09-06 Thread William Ferguson
What if the duplicate image and apply style was automated?  Say that you
had a module style preview.  It displays a list of styles.  You select an
image, and some styles you'd like to try, then hit apply.  A duplicate is
created for each style selected and the style is applied.  When you're done
you select the duplicates and then trash them.

On Thu, Sep 6, 2018 at 8:27 AM Bernhard 
wrote:

> A workaround would be to "duplicate" the image (which simply produces
> another .xmp) and apply the style to the duplicate.
> This way you can compare original and modified image and simply delete the
> duplicate if you are not convinced by the result.
>
> --
>
> regards
> Bernhard
> https://www.bilddateien.de
>
> Steven Adler schrieb am 06.09.2018 um 14:12:
>
> Dstyle is a great site that demonstrates the theoretical application if a
> style to a sample photo. What would be great in darktable is the ability to
> see the application of a style to a photo in the filmstrip as a thumbnail
> preview prior to applying it.  Even better would be the ability to undo
> applied previews with ctl-z instead if having to delete the steps applied
> in history.
>
>
>
> Best,
>
> Steven Adler
>
> --
> *From:* johannes hanika  
> *Sent:* Thursday, September 6, 2018 7:24:50 AM
> *To:* darktable-user
> *Subject:* Re: [darktable-user] Style previews
>
> .. you guys know http://www.dtstyle.net/ right?
> On Tue, Sep 4, 2018 at 10:36 PM Ricardo Kozmate.Net 
>  wrote:
> >
> > Em 04/09/18 08:49, FK escreveu:
> > >   I'd expect to see a popup thumbnail when hovering above a
> > > style with a preview -- or even a preview on the full image
> >
> > A "live" preview may be too expensive (computationally), it probably
> > is... but...
> >
> > Maybe saving a before-and-after with some selected image(s) within the
> > style definition could be helpful and feasible? I presume it is much
> > easier to recall a visual effect by looking at a previous instance of
> > that effect, than by name alone.
> >
> > Ricardo André
> >
> 
> > 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



[darktable-user] mis-identified lens correction

2018-09-05 Thread William Ferguson
I've written a script, correct_lens.lua, to provide a means to non
destructively correct the lens information used by darktable.  In the past
if your camera didn't correctly identify your lens then the only way to
correct it was to use exiftool to modify the image file and rewrite the
lens information.  correct_lens builds a lookup table of lens string
corrections, then applies that to the darktable database information for an
image and doesn't modify the image file at all.

I'm putting this out for testing right now to see if it meets the needs of
other users, and to see what I didn't think of.  I've tested it and I use
it every time I shoot to correct the lens information.  However, you might
want to back up your library.db file prior to trying it just in case
there's a bug I missed.

The script is at https://github.com/wpferguson/correct-lens.  The README
has lots of information about the script and how to use it as well as
performance information.

Bill


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

Re: Aw: [darktable-user] Darktable keeps crashing constantly

2018-08-23 Thread William Ferguson
What were you doing when it crashed?

On Thu, Aug 23, 2018 at 3:37 PM Henkka  wrote:

> Thank you for advise.
> I started it from terminal and worked until it crashed and this was in
> terminal
>
> (process:1304): GLib-GObject-CRITICAL **: 22:28:02.984: g_object_set:
> assertion 'G_IS_OBJECT (object)' failed
>
> (darktable-bin:1304): GLib-GObject-WARNING **: 22:28:03.266: invalid cast
> from 'GtkMenuBar' to 'GtkWindow'
>
> (darktable-bin:1304): Gtk-CRITICAL **: 22:28:03.266:
> gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
> Magick: abort due to signal 11 (SIGSEGV) "Segmentation Fault"...
> Abort trap: 6
>
> Those first two lines came when I started the Dt.
>
> William Ferguson kirjoitti 23.8.2018 klo 21.26:
>
> Open a terminal, then type (assuming your darktable executable is
> installed in applications)
>
> /Applications/darktable.app/Contents/MacOS/darktable
>
> and hit enter.  If it crashes, it should show something on the terminal.
>
> Regards,
>
> Bill
>
> On Thu, Aug 23, 2018 at 2:19 PM Henkka  wrote:
>
>> How does one starts darktable from console?
>>
>> Michael Fritze kirjoitti 23.8.2018 klo 19.49:
>>
>> Hi,
>>
>> can you start dt from a console and watch the output?
>>
>> BR, Micha.
>> *Gesendet:* Donnerstag, 23. August 2018 um 18:45 Uhr
>> *Von:* Henkka  
>> *An:* darktable-user 
>> 
>> *Betreff:* [darktable-user] Darktable keeps crashing constantly
>> I'm working on a big project and I created bunch of styles I add to
>> certain type of pictures. But almost every time I add style, darktable
>> crashes. Anyone with same probbum?
>>
>> Latest darktable (2.4.4), mac version.
>>
>>
>> 
>> 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
>


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

  1   2   >