* Sidecar lifetime management - Must Have.
* Support for other sidecar format - Nice to Have.
I think that (un)fortunately the market share for the other sidecar format are quite small.
The market share for Rawtherapee is quite big, so I don't think that handling other sidecars is "nice to have".
Hmmmm.... let's see:
Source: http://digital-photography-school.com/p ... ll-results
Yes, I know that RawTherapee is a popular solution, but let us not forget the sense of its popularity in the global market. I really would like to support its proprietary sidecars but, sincerely, I cannot say that it is a "must have".
And I guess it would not be too demanding.
"not demanding"... ...what?
1. To support parsing
(import/export of) custom sidecars? Well, 1st, it depends on the format, data which is stored and, more, if they release the specifications for the format. But the most dangerous part is that it is proprietary and hence we depend on them - if they will turn around and implement a tag/bit of information which is incompatible with our architecture, then we're in trouble. Of course, we can limit ourselves to RCK (Rating/Coloring/Keywords).
2. To copy/move/delete/rename (CMDR) the sidecars
together with the images? No it isn't demanding. Just that Pierre must allow the user to specify which are the sidecars - something like this:
...and after this, to change a little the code for each CMDR action (see above) to look also for the files with the same name and sidecar extension and do the same operation for it.
Here is an example of a batch script which does the job for deleting sidecars:
rem Input of image filename
rem extract path
for %%i in (%IMAGE_OLD%) DO set PATH_OLD=%%~dpi
rem Adjust path to hooks (e.g. for Capture One; for Photivo and RawTherapee just leave "%PATH_HOOK%" empty)
rem Adjust suitable hook suffix
if not exist %PATH_OLD%%PATH_HOOK% GOTO END
for %%i in (%IMAGE_OLD%) DO set NAME_OLD=%%~nxi
Unfortunately I have no idea how to code this in a programming language...
...but I'm a little reserved WRT to sidecars in subfolders (also RawShooter was the same) because one must configure yet another parameter (the subdir) which, incidentally, (in the case of SilkyPix) can depend on the version number. This also can create problems in the CMDR (on-disk management) engine because instead of the simple case of same-dir sidecars...
Code: Select all
if FileExists(cSidecar) then
CopyFile(cSidecar, cDestDir); //the same applies to Move
...the program must have a more complex logic for building cSidecar
and (temporary) adjusting the cDestDir
Certainly doable, tough.
You do not have the required permissions to view the files attached to this post.
- Dark Themed XnViewMP 1.0 64bit on Win10 x64 -