I've been doing this and it works great. I could add a keyboard shortcut to perform this operation, and even do it automatically at the import of new raw files.
I couldn't find how to run my script when I choose to discard the history stack of an image, to reapply my style at this moment too. The post-import-image event seems not to be triggered at this moment. Is there a way to work around this ? Regards Marc On 20/01/2015 14:30, jeremy rosen wrote: > > > What about LUA? With lua you can apply existing styles to images. > A lua script could maybe read the specific string? from the exif > field in question, select and apply the right style to the image. > > In this german post you will find a sample script, which duplicates > images for a list of styles (starting with a specifict string) and > apply one style per image: > http://www.dslr-forum.de/showpost.php?p=12865789&postcount=78 > > Lua cannot directly read exif field. The lua API is based on what DT can > do but does not add any lua-specific feature. > > However, lua can call expternal programs (like exiv2) and than do all > sort of string manipulation and tag/colorlabel/apply styles on images > based on what it finds > > it's a bit of work but it's doable > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > > > > _______________________________________________ > darktable-devel mailing list > darktable-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/darktable-devel > ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel