[KPhotoAlbum] Raw workflow
Robert Krawitz
rlk at speakeasy.net
Tue Aug 28 03:39:15 BST 2012
On Mon, 27 Aug 2012 20:58:16 +0300, Miika Turkia wrote:
> On Mon, Aug 27, 2012 at 6:59 PM, Robert Krawitz <rlk at speakeasy.net> wrote:
>> On Mon, 27 Aug 2012 07:48:22 +0300, Miika Turkia wrote:
>>> On Sun, Aug 26, 2012 at 10:43 PM, Robert Krawitz <rlk at speakeasy.net> wrote:
>>>> The kpa manual states:
>>>>
>>>> "A few settings are recommended for a RAW workflow. First is to enable
>>>> the using of the embedded thumbnail. This will give a tremendous speed
>>>> boost over decoding each raw file each time they are viewed (check also
>>>> the minimum dimension configuration to ensure decent quality). Second
>>>> one is for the New Image Finder to automatically stack the developed
>>>> versions over the RAW file (developed image must be on same directory as
>>>> the original). This requires regular expressions as described in ."
>>>>
>>>> The last is obviously a reference to the new image finder settings, but
>>>> it doesn't explain clearly what the search regexp and file replacement
>>>> texts should be. This would benefit greatly from an example (I haven't
>>>> figured out what they need to be myself!").
>>>
>>> The reference points to chapter "New Image Finder Settings" where the
>>> regular expressions I used at the time of writing are shown. Is the
>>> link missing from your manual? It is working on HTML and PDF version
>>> from docs.kde.org. Anyway, what I currently have is:
>>>
>>> Search: (_(v){0,1}([0-9]){1,2}){0,1}\.(jpg|JPG|tif|TIF|png|PNG)
>>> Orig: .NEF;.CR2;.JPG;.jpg;.ORF
>>
>> I currently have
>>
>> Search: _[0-9]{4}\.(jpg)
>>
>> Orig: .cr2;.crw;.jpg
>>
>> but still get two copies of each image.
>
> _1234.jpg is the suffix that matches your regex and should be replaced
> with cr2, crw or jpg. If you have the JPGs already in the database and
> try to match RAWs you need to add the raw into the regex. Following is
> my guess of what you need as search:
> (_[0-9]{4}){0,1}\.(jpg|cr2|CR2|crw|CRW)
These are the settings I tried (I presume the second backslash is put
there by the config file writer; it doesn't show up in the dialog). All
of my filenames are lower case.
[FileVersionDetection]
autoStackNewFiles=true
copyFileComponent=
copyFileReplacementComponent=
detectModifiedFiles=true
modifiedFileComponent=_[0-9]{4}\\.(jpg|cr2|crw)
originalFileComponent=.cr2;.crw;.jpg
I'm attaching a screenshot with the manual snippet.
--
Robert Krawitz <rlk at alum.mit.edu>
MIT VI-3 1987 - Congratulations MIT Engineers men's hoops Final Four!
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sshot.png
Type: image/png
Size: 49524 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20120827/5320b343/attachment.png>
More information about the Kphotoalbum
mailing list