Re: [darktable-dev] LUA Script to interact with SmugMug API?

2021-01-06 Thread David Reagan
Anyone have any suggestions on a currently maintained OAuth 1.0a lua 
library?


`luarocks install oauth` fails to compile the luacrypto dependency. Both 
libraries have had no activity in multiple years on GitHub. And the 
compile errors make me think the library is completely out of date with 
current versions of openssl.


When I searched on luarocks.org, oauth was the top result, and the only 
other OAuth 1.0 (I think) library looks to be oauth_light, which is not 
documented.


Thanks.

- David

On 12/13/20 1:27 PM, David Reagan wrote:

Hey all,

Before I dig in too deep on my own, I want to ask if anyone else has 
tried writing a Lua script to provide integration with SmugMug? Has 
anyone attempted to write a script that can upload directly to SmugMug 
from Darktable?


From what I've skimmed of their API docs, you can do quite a bit via 
REST. I've never developed with Lua before, but I'm sure there's a 
library that can run HTTP requests, right?


Are there any gotcha's I might run into if I try to do this on my own?

I did search the archives, and just the web in general, but I haven't 
found anything anyone has shared.



Thanks!

- David Reagan

___ 


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



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



Re: [darktable-dev] Star rating symbols on Windows

2021-01-06 Thread Nicolas Auffray

Hello (better to begin a mail with something like that),

What you describe is strange and not what is set (that's my work), so 
please could you post a screenshot?


Size is reduced only when hovering stars to show which by the movement 
which ones you will select but when the cursor is not hover, stars are 
exactly same size and are empty if not rated and fully grey when rated. 
It's clear and normal. So if you have small one when the cursor is not 
hover, it's really strange and you're the first to post that. And stars 
are like they are since at least darktable 3.0. I have made only minor 
changes (but not on size) for 3.2.1 and nothing for 3.4.


Most of the things in the UI is made with CSS, but your issue is not the 
normal behavior.


Best regards

Nicolas Auffray (Nilvus)


Le 06/01/2021 à 05:21, DougC a écrit :
I am using 3.4 on Windows 10 and I am bothered by the icon symbols 
used. The unrated stars are large.  But the rated stars are very small 
although filled in. When you see them side-by-side the rated stars 
appear to be so much smaller that it suggests they should be the 
unrated symbols.


Is there any way to replace the rated symbols with alternatives by 
reconfiguring the application in any way at runtime, as opposed to 
rebuilding the app from source? For example, using CSS? I don't mind 
doing some work to accomplish but I find the description of building 
from source for Windows to be daunting.





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


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



Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread Peter Harde
I'm on linux (lubuntu 20.04).

Hubert Kowalski  schrieb am Mi., 6. Jan. 2021, 21:28:

> On windows I think it's also a requirement to change usb drivers
>
> śr., 6 sty 2021 o 21:22 Peter Harde 
> napisał(a):
>
>> I build from git current master, gphoto2 is available and recognized at
>> build process. Nevertheless the buttton is not shown, even if I connect my
>> camera (Sony alpha 77). This camera does not support tethering, so I assume
>> this could be the reason for dt to hide the 'import from camera' button.
>> The only way to load images directly from this camera is to mount it as
>> block device. Also my build-in card reader is not recognized as 'camera'.
>> Unfortunately the manual (
>> https://darktable-org.github.io/dtdocs/module-reference/utility-modules/lighttable/import/)
>> does not give detailed info regarding the requirements a camera or card
>> reader must fullfill to be recognized.
>> Peter
>>
>>
>> August Schwerdfeger  schrieb am Mi., 6. Jan.
>> 2021, 17:52:
>>
>>> The thumbnails do not show up when importing from a folder, only when
>>> importing from a device using the 'gphoto2' library. If you see only two
>>> buttons in the import module (and not the "scan for devices" button) then
>>> your copy of Darktable was not compiled with 'gphoto2' support.
>>>
>>> I would not recommend using folder import for images on an SD card: if
>>> you import such images and do not promptly move them *off* the SD card,
>>> you will lose access to them as soon as the card is unmounted.
>>>
>>> --
>>> August Schwerdfeger
>>> aug...@schwerdfeger.name
>>>
>>>


 ___
 darktable developer mailing list
 to unsubscribe send a mail to
 darktable-dev+unsubscr...@lists.darktable.org
>>>
>>>
>>> ___
>>> darktable developer mailing list to unsubscribe send a mail to
>>> darktable-dev+unsubscr...@lists.darktable.org
>>>
>>
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>
>
> --
> Pozdrawiam,
> Hubert Kowalski
>

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



Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread Hubert Kowalski
On windows I think it's also a requirement to change usb drivers

śr., 6 sty 2021 o 21:22 Peter Harde 
napisał(a):

> I build from git current master, gphoto2 is available and recognized at
> build process. Nevertheless the buttton is not shown, even if I connect my
> camera (Sony alpha 77). This camera does not support tethering, so I assume
> this could be the reason for dt to hide the 'import from camera' button.
> The only way to load images directly from this camera is to mount it as
> block device. Also my build-in card reader is not recognized as 'camera'.
> Unfortunately the manual (
> https://darktable-org.github.io/dtdocs/module-reference/utility-modules/lighttable/import/)
> does not give detailed info regarding the requirements a camera or card
> reader must fullfill to be recognized.
> Peter
>
>
> August Schwerdfeger  schrieb am Mi., 6. Jan.
> 2021, 17:52:
>
>> The thumbnails do not show up when importing from a folder, only when
>> importing from a device using the 'gphoto2' library. If you see only two
>> buttons in the import module (and not the "scan for devices" button) then
>> your copy of Darktable was not compiled with 'gphoto2' support.
>>
>> I would not recommend using folder import for images on an SD card: if
>> you import such images and do not promptly move them *off* the SD card,
>> you will lose access to them as soon as the card is unmounted.
>>
>> --
>> August Schwerdfeger
>> aug...@schwerdfeger.name
>>
>>
>>>
>>>
>>> ___
>>> darktable developer mailing list
>>> to unsubscribe send a mail to
>>> darktable-dev+unsubscr...@lists.darktable.org
>>
>>
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>>
>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>


-- 
Pozdrawiam,
Hubert Kowalski

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



Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread Peter Harde
I build from git current master, gphoto2 is available and recognized at
build process. Nevertheless the buttton is not shown, even if I connect my
camera (Sony alpha 77). This camera does not support tethering, so I assume
this could be the reason for dt to hide the 'import from camera' button.
The only way to load images directly from this camera is to mount it as
block device. Also my build-in card reader is not recognized as 'camera'.
Unfortunately the manual (
https://darktable-org.github.io/dtdocs/module-reference/utility-modules/lighttable/import/)
does not give detailed info regarding the requirements a camera or card
reader must fullfill to be recognized.
Peter


August Schwerdfeger  schrieb am Mi., 6. Jan.
2021, 17:52:

> The thumbnails do not show up when importing from a folder, only when
> importing from a device using the 'gphoto2' library. If you see only two
> buttons in the import module (and not the "scan for devices" button) then
> your copy of Darktable was not compiled with 'gphoto2' support.
>
> I would not recommend using folder import for images on an SD card: if you
> import such images and do not promptly move them *off* the SD card, you
> will lose access to them as soon as the card is unmounted.
>
> --
> August Schwerdfeger
> aug...@schwerdfeger.name
>
>
>>
>>
>> ___
>> darktable developer mailing list
>> to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>
>
> ___
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>

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

Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread DougC
 On Wed, 06 Jan 2021 13:24:57 -0500 Bernhard 
 wrote 

If you connect a card reader or a camera you can import from device ... 

see attached - I already showed this three days ago ... 
 




I do not see that choice after I connect a USB SD card reader. However, if I 
use the folder choice, I can then browse to the card reader using the open 
dialog.

I'm using DT 3.4 with Windows 10.
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread Bernhard



Peter Harde schrieb am 06.01.21 um 17:41:
ok, thank you for clarification. But I'm afraid I still don't really 
understand how you get thumbnails into the import dialog. The import 
module of lighttable (dt 3.4.0) has two buttons, "image..." to import 
imag(es) and "folder" to import the content of a folder (optional 
recursive). 

no, it has not ...
If you connect a card reader or a camera you can import from device ... 
see attached - I already showed this three days ago ...


--

regards
Bernhard

https://www.bilddateien.de


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

Re: [darktable-dev] different meanings of "feather" in darktable

2021-01-06 Thread Aurélien Pierre
I would go for softening in drawn masks and feathering in the 
variance-thresholded edge detection of the guided filter.


What happens in drawn masks is only outside the main outline, while the 
guided filter is much less predictable in its behaviour (could be in, 
could be out, could cross the line too).


Cheers,

A.

Le 05/01/2021 à 19:12, David Vincent-Jones a écrit :


So .. a question: does feathering become applied to both sides of the 
base outline or only effect the 'smoothing' area outside of the base?



On 2021-01-05 8:13 a.m., DougC wrote:

"Feathering amount" might be better than "feather size".





 On Tue, 05 Jan 2021 11:04:32 -0500 Mica Semrick  
wrote 


"Feather size" is still awkward. It could be changed to "feathering" as well.
___
darktable developer mailing list
to unsubscribe send a mail todarktable-dev+unsubscr...@lists.darktable.org


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


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

Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread August Schwerdfeger
The thumbnails do not show up when importing from a folder, only when
importing from a device using the 'gphoto2' library. If you see only two
buttons in the import module (and not the "scan for devices" button) then
your copy of Darktable was not compiled with 'gphoto2' support.

I would not recommend using folder import for images on an SD card: if you
import such images and do not promptly move them *off* the SD card, you
will lose access to them as soon as the card is unmounted.

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

On Wed, Jan 6, 2021 at 10:42 AM Peter Harde 
wrote:

> Hi Laurent,
>
> ok, thank you for clarification. But I'm afraid I still don't really
> understand how you get thumbnails into the import dialog. The import
> module of lighttable (dt 3.4.0) has two buttons, "image..." to import
> imag(es) and "folder" to import the content of a folder (optional
> recursive).
>
> I assume your card reader is mounted as linux block device. Clicking
> "folder" you should get a file selector (dialog) like the one shown in
> the attached screenshot. For me this dialog appears with a file list,
> with small leading symbolic icons (no thumbnails). And building the
> content of the dialog is extremely fast. I cannot find a way to get
> thumbnails into this dialog...
>
> Peter
>
> Am 06.01.21 um 15:56 schrieb Laurent Zimmermann:
> > Hi Peter,
> >
> >
> > Sorry that I was not clear.
> >
> > I meant the thumbnails that appear in the window opened in darktable
> > if I click on "Import from camera" (although just an USB3 card reader
> > with my CF is connected, not the camera itself, which is only USB2).
> >
> > I suggested that THESE thumbnails (not those of the lighttable) could
> > (also) be saved in a cache.
> >
> > About the file list, I am almost certain I saw it once (and only once)
> > instead of the thumbnails, but I never was able to reproduce.
> >
> > I spoke about Dolphin only for speed comparison.
> >
> > Following you suggestion I gave dt 3.4.0 a try, but on my Windows
> > computer. With 3.4 (under Windows), the import from a card reader no
> > more copies the files to the hard disk as 3.2.1 did (under Linux). And
> > if I connect my camera, dt recognizes it but says it is busy. Sorry
> > for mixing the OS's.
> > I've found the Zadig tool to change the driver, but it had no effect,
> > at least for the card reader (not yet tested with the camera, but it
> > is USB 2 only).
> >
> >
> > Thanks,
> > Laurent
>
> ___
> darktable developer mailing list
> to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org

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

Re: [darktable-dev] Import from camera/ memory card: some probleems

2021-01-06 Thread Laurent Zimmermann
Hi Peter,


Sorry that I was not clear.

I meant the thumbnails that appear in the window opened in darktable
if I click on "Import from camera" (although just an USB3 card reader
with my CF is connected, not the camera itself, which is only USB2).

I suggested that THESE thumbnails (not those of the lighttable) could
(also) be saved in a cache.

About the file list, I am almost certain I saw it once (and only once)
instead of the thumbnails, but I never was able to reproduce.

I spoke about Dolphin only for speed comparison.

Following you suggestion I gave dt 3.4.0 a try, but on my Windows
computer. With 3.4 (under Windows), the import from a card reader no
more copies the files to the hard disk as 3.2.1 did (under Linux). And
if I connect my camera, dt recognizes it but says it is busy. Sorry
for mixing the OS's.
I've found the Zadig tool to change the driver, but it had no effect,
at least for the card reader (not yet tested with the camera, but it
is USB 2 only).


Thanks,
Laurent

Le mer. 6 janv. 2021 à 07:40, Peter Harde
 a écrit :
>
> Hi Laurent,
>
> please be more clear : which thumbnails do you mean ? The thumbnails
> possibly optionally shown in the file manager window which appears if
> you click on import ? Or the thumbnails shown in lighttable mode of
> darktable ?
>
> I suspect you mean the file manager window, because in your initial mail
> (point 2) you mention a filelist mode. To my knowledge darktable does
> not offer such a mode, but filemanagers do.
>
> In file manger window the file manager (whichever you use on your
> system) handles the thumbnails (not dt). The thumbnails in lighttable
> view are handled by darktable and saved in ~/.cache/darktable (linux
> path, for windows I don't know the path). There is a comand line tool
> called darktable-generate-cache to generate/update thumbnails in the
> background when your computer is idle (see documentation).
>
> Peter
>
> Am 05.01.21 um 16:34 schrieb Laurent Zimmermann:
> > Hi Peter,
> >
> > I did not try dt 3.4 because it is not yet available in the
> > repositories of my distro.
> >
> > This is my hardware:
> > - CompactFlash SanDisk Extreme 60 MB/s
> > - Lexar USB 3.0 card reader
> > - StarTech USB 3.0 ExpressCard
> > - Pentium P6000 @ 1.87 GHz dual core
> > - 8 GB RAM DDR3
> > - SSD drive
> > It is an ancient VAIO laptop I have upgraded. Not an i7 processor of course.
> >
> > I tried to increase (512 MB -> 2048 MB) for the thumbnails cache and
> > the nimber of threads (1 -> 2) without any noticeable effect on the
> > thumbnails display in the import dialog. No other setting seemed
> > appropriate.
> >
> > The import dialog in darktable needs ~18 s to display the 133
> > thumbnails although Dolphin needs only 2-3 s. So I guess the hardware
> > is not the most critical point, dont't you?
> >
> > Laurent
> >
> > Le mar. 5 janv. 2021 à 08:52, Peter Harde
> >  a écrit :
> >> Hi Laurent,
> >>
> >> did you try dt 3.4.0 ? What hardware are you using? Sounds as if your
> >> system is slow... There are several settings in preferences ->
> >> lighttable controlling the creation of thumbnails. Did you try different
> >> settings ?
> >>
> >> Peter
> >>
> >> Am 04.01.21 um 15:38 schrieb Laurent Zimmermann:
> >>> Using darktable 3.2.1 x64 / Q4OS Linux (Debian 10 type).
> >>>
> >>> First of all, thanks to the developpers for their work.
> >>>
> >>> 1. I recently imported all the pictures (250+) from my memory card to
> >>> my harddrive. I wanted to import them on my hard disk in several
> >>> partial imports to get them into several folders having different
> >>> names. The problem was that at each partial import I had to wait a
> >>> long time until the full content of my memory card was displayed. Is
> >>> was a long time because there were many photos and because thumbnails
> >>> were displayed.
> >>> I believe things could go much faster if a kind of cache could be
> >>> used, because viewing the thumbnails was very useful.
> >>>
> >>> 2. By the way, I remember I saw once a list of filenames (faster
> >>> display) instead of the thumbnails, but I am totally unable to
> >>> remember what I did to view the list instead of the thumbnails. I see
> >>> no button nor another mean to toggle between filename and thumbnails.
> >>>
> >>> 3. In the parameters tab, there is the option "override today's date"
> >>> (surcharge la date actuelle). I'd like to know what is it intended for
> >>> and how to use it.
> >>>
> >>> Thanks.
> >>> ___
> >>> darktable developer mailing list
> >>> to unsubscribe send a mail to 
> >>> darktable-dev+unsubscr...@lists.darktable.org
> >>>
> >> ___
> >> darktable developer mailing list
> >> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
> >>
> > ___
> > darktable developer mailing