Am Freitag, 13. Februar 2015, 10:48:56 schrieb Christian Mandel:
> Hi!
> 
> There have been several bug reports/feature requests on similar issues
> (http://www.darktable.org/redmine/issues/8779,
> http://www.darktable.org/redmine/issues/8538,
> http://www.darktable.org/redmine/issues/9065), but they do not describe
> my issue exactly. When I bring together images of several photographers
> and/or from different cameras (e.g. after a vacation), some images have
> just raw, some raw+jpeg and some jpeg only (e.g. from mobile phones).
> Therefore it would be handy to ignore jpeg during import only if a
> corresponding raw file is present. Especially when the collection of
> images in the directory/film roll grows with time and has to be
> reimported several times, manually deleting redundant jpegs is time
> consuming and I never thought that grouping raw+jpeg is a proper
> replacement for not importing redundant jpegs, it's something different.
> 
> Is there already a way to only ignore redundant jpegs but import jpegs
> without companion raw or, if not, what is your opinion on this topic?
> 
> I guess, to detect redundancy, two steps are sufficient: first a
> comparison of filename and, second, if the same basename, compare exif
> date. Maybe even the first step is sufficient?

After thinking about that I came to the conclusion that this would be best 
done with Lua. Everyone has their own (albeit similar) wishes there so a set 
of a few Lua scripts (or one with a few config switches) would be the best way 
to go. Currently darktable allows to register a callback that is run after an 
import, so it would already be possible to remove images from the db that are 
not wanted. However, that would still waste a lot of time since these images 
get imported first, might get a sidecar file and maybe even a thumbnail 
created. 
To make this more useful we are currently discussing the idea of a list filter 
for import and also export that could remove (or add) images to the list of 
to-be imported/exported images. This won't land in the 1.6 series though, so 
if anyone feels bored, a script that removes unwanted files from the imported 
film would be worthwhile for the time being. To get you started, the important 
callback is post-import-film 
(http://darktable.org/redmine/projects/darktable/wiki/LuaAPI#post-import-film).

> Best regards
> 
> Chris

Tobias

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

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to