Re: [darktable-user] Best way to tag image from command line?

2021-01-18 Thread Terry Pinfold
I have never paid any attention to the collect images module before. I am 
impressed with how you can search for images based on criteria including aspect 
ratio, camera, focal length, ISO and the list goes on. Very impressive and 
comparable to the search feature found in Lightroom (but without the cost of a 
subscription:)



From: KOVÁCS István 
Sent: Tuesday, 19 January 2021 4:59 PM
To: Darktable Users List 
Subject: Re: [darktable-user] Best way to tag image from command line?

> I was looking for portrait images. I could not find a way to do it in
> UI. Darktable is aware of image orientation, but it's not accessible in
> UI as far as I know.

You're right, there's no way to filter based on the camera's rotation
sensor. But we do have something better, that takes cropping into
account, too.
In collect images, open the dropdown, and select aspect ratio:
http://tech.kovacs-telekes.org/files/2021-01-19-darktable-aspect-ratio/1-collect-images-capture-details-aspect-ratio.png
Choose one that you like, or use > 1 to filter for landscape:
http://tech.kovacs-telekes.org/files/2021-01-19-darktable-aspect-ratio/2-aspect-ratio-greater-than-1-landscape.png

I explained the same on the 16th, Bernard on the 17th, then both of us
again on the 18th, including screenshots.

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



Re: [darktable-user] Which documentation to use?

2021-01-18 Thread KOVÁCS István
On Tue, 19 Jan 2021 at 06:31, Patrick Shanahan  wrote:
>
> * darkta...@911networks.com  [01-18-21 23:09]:
> > There is:
> >
> > http://www.darktable.org/usermanual/en/
> >
> > and
> >
> > https://darktable.gitlab.io/doc/en/index.html
> >
> > are they the same? Which one should I use?
>
> if you looked at them, surely you noticed a difference.  use the one that
> is for the version of darktable you utilize.
>
> should be very easy to make that choice.

Since they both say 3.4, and in fact *are* for 3.4, the question was
valid and the answer was just as wrong as arrogant.
https://darktable.gitlab.io/doc/en/index.html is 'old' in the sense
that it's the updated version of the 'old style' manual. Nevertheless,
it has been updated for 3.4, but is the last such update. It is
available in multiple languages.
https://www.darktable.org/usermanual/en/ is the new version, and that
is the format that will be used in the future. It has fewer
screenshots (which tend to change often, and are therefore hard to
maintain).
Finally, https://darktable-org.github.io/dtdocs/ is, as far as I know,
the latest and greatest, updated for the development version (even
though its version number still says 3.4). It's automatically
generated from https://github.com/darktable-org/dtdocs
The latter two are currently available only in English.
Kofa

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



Re: [darktable-user] Windows Nightly Builds

2021-01-18 Thread Martin Straeten
No, you’re looking at the right place. There seems to be some issues in setting 
up the ci environment for windows.
Best way is to build it yourself - the description in 
https://github.com/darktable-org/darktable/tree/master/packaging/windows is 
quite good (but a setup in a ci environment is a different thing)

> Am 19.01.2021 um 03:21 schrieb Bill Martz :
> 
> 
> I have the location of the nightly builds as
> 
> https://github.com/darktable-org/darktable/actions?query=workflow%3A"Nightly+PKG;
> 
> What I see is there have not been any successful builds in 21 days. Am I 
> looking in the wrong place?
> 
>  
> 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-18 Thread KOVÁCS István
> I was looking for portrait images. I could not find a way to do it in
> UI. Darktable is aware of image orientation, but it's not accessible in
> UI as far as I know.

You're right, there's no way to filter based on the camera's rotation
sensor. But we do have something better, that takes cropping into
account, too.
In collect images, open the dropdown, and select aspect ratio:
http://tech.kovacs-telekes.org/files/2021-01-19-darktable-aspect-ratio/1-collect-images-capture-details-aspect-ratio.png
Choose one that you like, or use > 1 to filter for landscape:
http://tech.kovacs-telekes.org/files/2021-01-19-darktable-aspect-ratio/2-aspect-ratio-greater-than-1-landscape.png

I explained the same on the 16th, Bernard on the 17th, then both of us
again on the 18th, including screenshots.

Kofa

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



Re: [darktable-user] Which documentation to use?

2021-01-18 Thread Terry Pinfold
Both of those links are for 3.4

I believe this is the better link going forward as it will be maintained
with updates (that what I read previously on this forum).
https://darktable.gitlab.io/doc/en/index.html

The other is a PDF version and I believe it lags behind on updates.

On Tue, 19 Jan 2021 at 15:08,  wrote:

> There is:
>
> http://www.darktable.org/usermanual/en/
>
> and
>
> https://darktable.gitlab.io/doc/en/index.html
>
> are they the same? Which one should I use?
>
> --
> sknahT
>
> vyS
>
> 
> 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

Re: [darktable-user] Which documentation to use?

2021-01-18 Thread Patrick Shanahan
* darkta...@911networks.com  [01-18-21 23:09]:
> There is:
> 
> http://www.darktable.org/usermanual/en/ 
> 
> and
> 
> https://darktable.gitlab.io/doc/en/index.html
> 
> are they the same? Which one should I use?

if you looked at them, surely you noticed a difference.  use the one that
is for the version of darktable you utilize.

should be very easy to make that choice.

-- 
(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] Which documentation to use?

2021-01-18 Thread darktable
There is:

http://www.darktable.org/usermanual/en/ 

and

https://darktable.gitlab.io/doc/en/index.html

are they the same? Which one should I use?

-- 
sknahT

vyS

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



[darktable-user] Windows Nightly Builds

2021-01-18 Thread Bill Martz
I have the location of the nightly builds as

https://github.com/darktable-org/darktable/actions?query=workflow%3A
"Nightly+PKG"

What I see is there have not been any successful builds in 21 days. Am I
looking in the wrong place?


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-18 Thread Niranjan Rao

On 1/18/21 2:03 PM, Pascal Obry wrote:

Le lundi 18 janvier 2021 à 13:53 -0800, Niranjan Rao a écrit :

I wouldn't want to comment on other's experience. Here is what I was
looking for and so far I have not found a way to do in darktable. Any
tips/hints welcome.

I was looking for portrait images. I could not find a way to do it in
UI. Darktable is aware of image orientation, but it's not accessible
in
UI as far as I know.

You already got an answer. This is available and is called aspect
ratio. In dt 3.6 there will be even some presets. So before asking for
SQL in dt (which will certainly never happen) please read the doc and
also the reply already done on this thread.


Thanks,


Pascal,

You are one of the developer of the darktable and I respect you for the 
work you have done. Since i am not a contributing member right now, all 
I can do is propose the ideas. I have read manual many times and when 
not clear I have asked the questions and got excellent support from 
community. I was just looking for a way extending already excellent tool 
and discussing the ideas.


If you don't think feature is not worthy of implementation, we can drop 
the topic, no worries, but language like "certainly never happen" feels 
like not considering other ideas without full consideration or reasoning 
behind it.



After I refresh my C/C++ skills, skills used long time back, I might 
create a pull request with my ideas for your consideration, my idea of 
what can be done. You don't have to accept the pull request, but it will 
give me some satisfaction of taking some action and not just talking.


Thank you for the hard work and a excellent product.


Regards,

Niranjan

Niranjan


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-18 Thread Pascal Obry
Le lundi 18 janvier 2021 à 13:53 -0800, Niranjan Rao a écrit :
> I wouldn't want to comment on other's experience. Here is what I was 
> looking for and so far I have not found a way to do in darktable. Any
> tips/hints welcome.
> 
> I was looking for portrait images. I could not find a way to do it in
> UI. Darktable is aware of image orientation, but it's not accessible
> in 
> UI as far as I know. 

You already got an answer. This is available and is called aspect
ratio. In dt 3.6 there will be even some presets. So before asking for
SQL in dt (which will certainly never happen) please read the doc and
also the reply already done on this thread.


Thanks,

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



Re: [darktable-user] Best way to tag image from command line?

2021-01-18 Thread Niranjan Rao
I wouldn't want to comment on other's experience. Here is what I was 
looking for and so far I have not found a way to do in darktable. Any 
tips/hints welcome.


I was looking for portrait images. I could not find a way to do it in 
UI. Darktable is aware of image orientation, but it's not accessible in 
UI as far as I know. Besides it uses different values than standard exif 
values, but comments in the code make it clear why it was done that way 
and makes sense.


If I had access to query editor, I could have easily have a query and 
don't have to wait for a feature that may or may not be implemented.


I'm trying to understand resistance to SQL query - as I see it,  it's a 
view after all, it has list of images and should not care how it got the 
list of images. As far as i can see current view is basically result of 
SQL, either based on film role or tags or whatever. If you provide 
opportunity people will use it in imaginative way, after all this tool 
is used by many imaginative artists. Why constrain within the confounds 
of UI?


I agree that SQL is not for everyone, but that does not mean other 
developers can provide SQL that can do allow people to filter the way 
they want or enhance functionality of already excellent tool. Not 
everyone is able to contribute with C/C++ tools, but following linux 
philosophy, any tool should be easily extendible by others without 
significant changes in the original tool.


Thanks,

Niranjan

On 1/18/21 11:39 AM, KOVÁCS István wrote:

All this SQL magic makes sense only if the database actually stores
those fields. Are you sure they're there? Wouldn't it be better to ask
for new fields to be added, and then handled through the UI filter
builder? What feature are you missing from the query builder itself?
Because if none, then there's no need for direct SQL filtering. The
few power users who want to have advanced statistics or such from
their database can use the command-line SQLite client and run whatever
query they want.

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-18 Thread KOVÁCS István
All this SQL magic makes sense only if the database actually stores
those fields. Are you sure they're there? Wouldn't it be better to ask
for new fields to be added, and then handled through the UI filter
builder? What feature are you missing from the query builder itself?
Because if none, then there's no need for direct SQL filtering. The
few power users who want to have advanced statistics or such from
their database can use the command-line SQLite client and run whatever
query they want.

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-18 Thread Bernhard



Terry Pinfold schrieb am 18.01.21 um 02:10:

[cid:e4e14329-17d3-4de2-9d1b-cad27c4e4c49]
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

as I wrote before ... darktable does most of this - see attached
Description here:
https://www.darktable.org/usermanual/en/module-reference/utility-modules/shared/collect-images/

--

regards
Bernhard

https://www.bilddateien.de



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

Re: [darktable-user] Best way to tag image from command line?

2021-01-18 Thread DougC
The idea of providing a way for users to submit SQL queries to filter the image 
list in lighttable is an interesting one. Not for everyone, certainly, but 
useful for some.



It is similar, in some aspects, to the ability to add CSS in the configuration 
dialog to customize the GUI. (Normally, CSS is used internally to manage much 
of the GUI look, but the user gets the ability to add their own tweaks.)



Doug C.

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-18 Thread Patrick Shanahan
* Niranjan Rao  [01-18-21 10:41]:
> I exported a image with description and title. None of the tools on Ubuntu
> showed it me though exiftool showed it to me. I was thinking there is some
> other use for these fields.
> 
> 
> Thank you,
> 
> Niranjan
> On 1/17/21 10:16 PM, Remco Viëtor wrote:ough
> > On lundi 18 janvier 2021 04:43:13 CET 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.
> > > 
> > For raw files (and perhaps other formats as well), dt doesn't write to the
> > original image file, and I don't think image viewers bother with sidecar
> > files. So your image viewer doesn't get to see the title and description 
> > (nor
> > tags/keywords you added!)
> > 
> > You get the description and title fields written in exported files (if you
> > didn't change that), and then your image viewer should pick them up.
> > 
> > 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


piwigo web albums can and do use those fields, iianm

-- 
(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



Re: [darktable-user] Best way to tag image from command line?

2021-01-18 Thread Niranjan Rao
I respectfully disagree with SQL injection aspect. I'm aware of SQL 
injection and damages it can cause. Problem can be addressed in multiple 
ways.


 * darktable is single user database - that is data belongs to only one
   user. There is no data leak across multiple users of the application.
 * Damaging database such as dropping/deleting rows/tables is certainly
   possible, but it can be managed by read-only transactions or similar
   techniques.

I agree that SQL is not everyone's cup of tea or other preferred 
beverage. That's why I said others can help forming the SQL. Essentially 
goal is to come up with a result set of images that can be shown in 
lighttable view. One way is to write the SQL that returns a list of 
images based on given criteria. lighttable is essentially doing it after 
removing the GUI sugar. If a custom SQL can return image list, lot of 
problems can be easily solved - e.g. FAQ can maintain a list of approved 
SQL queries that can show the results.



Regards,


Niranjan

On 1/17/21 10:10 PM, Remco Viëtor wrote:

On lundi 18 janvier 2021 04:45:04 CET Niranjan Rao wrote:

Thank you, but I was thinking darktable allowing to select a list of
images based on SQL.


Perhaps look up "SQL injection"?

Apart from that, SQL isn't all that simple to use, a few of the concepts are
not self-evident.



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: Fwd: Fwd: Fwd: [darktable-user] Where are Collections stored?

2021-01-18 Thread Dieter Faulbaum




Patrick Shanahan  writes:
...

darktable --configdir ~/.config/darktable-3.4
darktable --configdir ~/.config/darktable-master


and if you want that these are "totally" independent from each 
other you

should set the cachedir (with --cachedir) accordingly like these:

darktable --configdir ~/.config/darktable-3.4 --cachedir 
~/.cache/darktable-3.4
darktable --configdir ~/.config/darktable-master --cachedir 
~/.cache/darktable-master



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



Re: Fwd: Fwd: Fwd: [darktable-user] Where are Collections stored?

2021-01-18 Thread Patrick Shanahan
* Bruce Williams  [01-18-21 05:36]:
> Patrick,
> Thanks for the info, although I don't know how to create an alias. Do those
> commands go inside the bash script?
> Also, I followed your advice to create folders inside .config (except I
> called them darktable-3.4 and darktable-master) and then point the bash
> scripts to those folders.
> But when I launch darktable 3.4 from the bash script, it creates new
> library.db, data.db etc in .config/darktable (not the folder
> .config/darktable-3.4)

script ???

you must start dt from the command line using the command I provided but
changed to fit the way you named the config directories.  the following
command line invocations will accomplish that,

darktable --configdir ~/.config/darktable-3.4
darktable --configdir ~/.config/darktable-master

and library.db and data.db will be in the *correct* directories.


there is no script involved and any script that you used probably did not
have any idea of where you placed your new config directories.  it was
probably coded to default to the normail installation location, ie:
~/.config/darktable

again, to start and use darktable master version, invoke darktable from
the command line as:
  darktable --configdir ~/.config/darktable-master

to use darktable version 3.4:
  darktable --configdir ~/.config/darktable-3.4
  
note:  using "-" in directory or file names is ill advised and asking for
problems.


about "alias", your ~/.bashrc must provided for it and more, another
subject for another time.  please for now, forget it.

the commands above may be placed in scrpts to make it easier to call.  I
can help with that if you wish.


-- 
(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



Re: Fwd: Fwd: [darktable-user] Where are Collections stored?

2021-01-18 Thread KOVÁCS István
You can simply put the 'alias' commands Patrick provided in your .bashrc.
https://linuxize.com/post/how-to-create-bash-aliases/

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



Fwd: Fwd: Fwd: [darktable-user] Where are Collections stored?

2021-01-18 Thread Bruce Williams
Patrick,
Thanks for the info, although I don't know how to create an alias. Do those
commands go inside the bash script?
Also, I followed your advice to create folders inside .config (except I
called them darktable-3.4 and darktable-master) and then point the bash
scripts to those folders.
But when I launch darktable 3.4 from the bash script, it creates new
library.db, data.db etc in .config/darktable (not the folder
.config/darktable-3.4)
Cheers,
Bruce Williams
--

brucewilliamsphotography.com
shuttersincpodcast.com

e-mail  | Twitter  |
LinkedIn  | Facebook
 | Soundcloud
 | Quora

--




-- Forwarded message -
From: Patrick Shanahan 
Date: Mon, Jan 18, 2021 at 7:51 AM
Subject: Re: Fwd: Fwd: [darktable-user] Where are Collections stored?
To: darktable-user 


* Bruce Williams  [01-17-21 15:41]:
> Michael,
> Thanks for the suggested tweaks to my bash scripts.
> Despite implementing those changes, I'm still unable to save presets of
> Collected Images in 3.4, but CAN still save new presets of Collected
IMages
> in my master (3.5) branch.
> Also, 3.5 is still seeing all the same presets I've created in 3.4.
> #baffled

move ~/.config/darktable
to   ~/.config/darktable.34
and copy to
 ~/.config/darktable.35

then call darktable version 3.4 as
 darktable --configdir ~/.config/darktable.34
and version 3.5 as
 darktable --configdir ~/.config/darktable.35

and I would create aliases rather than the long command lines.

alias dt34='darktable --configdir ~/.config/darktable.34'
alias dt35='darktable --configdir ~/.config/darktable.35'

should accomplish what you desire

note that you will start with matching configurations, only differences
will show after you start using

-- 
(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