Replies: 1 comment 1 reply
-
|
#33 will be merged this week and should provide a way to exclude images |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to stack images according to two different criteria indepentdently
originalFileNamecriterionoriginalFileNamecriterionLet's say I have images
where
img1.jpg, img1_edit.jpgmay have different timestamps and allimg2*have the same timestamp.Criterion 1 would stack images (1,2) and (4,5), because they are in the same directory as their stack siblings and their file name regex capture
img1/img2matches, even thought their timestamp might not.Criterion 2 would stack images (3,4) because their filenames match and their timestamps do too, even though their directories don't.
What I want is both, i.e. the final stacks (1,2) and (3,4,5).
AFAIK, I could achive this right now by running the script twice, once with criterion 1 and after that with 2 (I think it will work because by default stacks won't be unstacked but just extended if already stacked).
This is of course a little ugly and might not work reliably when ran automatically in cron mode.
It would thus be great to supply multiple sets of independent criteria.
This, however, poses additional questions:
AND, i.e. all criteria have to be fulfilled, these independent sets of criteria would correspond to anORoperation.Maybe it would be better for more sophisticated stacking tasks to implement a full logic parsing?
At least being able to supply the custom criteria on a JSON file would be nice.
These points unregarded, the simplest implementation of my original idea would be to add another layer of JSON nesting, where the outer most list is, as currently, the "AND list".
This"AND list" contains either criteria (ducts) themselves, like right now, or other lists which are then "OR lists".
Or the vice versa (?)
But you see, this is getting ugly...
So my third proposal is:
Would it be more viable to plug-in criteria via golang directly?
I don't know any go, but maybe something like supplying a go config where if a certain function is supplied it used as the criterion logic.
Beta Was this translation helpful? Give feedback.
All reactions