photools.com Community

IMatch Bug Reports and Feature Requests => Feature Requests => Solved (Feature Requests) => Topic started by: axel.hennig on August 11, 2023, 01:28:17 PM

Title: Color-coding for formula-based categories
Post by: axel.hennig on August 11, 2023, 01:28:17 PM
The IMatch help - Categories (https://www.photools.com/help/imatch/cat_basics.htm#) says:
sc1.jpg

I don't know why, but would it be possible to have this feature?

Reason: I would like to set-up some formula-based "check-categories" like "file is not assigned to top-level category xyz". If I scroll through some images I would like to see a color-bar in the File-Window indicating that this or that image has "problems".
Title: Re: Color-coding for formula-based categories
Post by: Mario on August 12, 2023, 02:55:03 PM
This restriction was initially required (in IMatch 5) because of performance issues.

Over the years, computer performance has improved massively and I have improved performance for or re-implemented many time-critical sections of IMatch. In many cases, the performance now depends solely on disk speed and database speed.

I have pondered lifting the "no color-coding for formula categories" restriction occasionally and it is on my long-term to do list.
So, this morning I enabled it and made some tests. And performance was miserable, due to complexity, hierarchy, side-effects etc. to consider when using the standard routines available for this purpose in IMatch.

Then I've implemented a special set of functions, solely to deal with formula-based categories for color-coding, which is a lot more specialized than the normal routines used. And this worked out quite well.

So, in short, the next release of IMatch 2023 (2023.2.2) supports color-coding for formula-based categories.
Which will be helpful in some situations, e.g. color-flagging files in one of the "No this or that" child categories of the IMatch Workflow categories set, or similar.
Title: Re: Color-coding for formula-based categories
Post by: axel.hennig on August 13, 2023, 06:49:35 PM
Thanks a lot!
Title: Re: Color-coding for formula-based categories
Post by: axel.hennig on September 11, 2023, 01:55:16 PM
This works really great, so thanks again!
Title: Re: Color-coding for formula-based categories
Post by: Mario on September 11, 2023, 02:38:17 PM
Quote from: axel.hennig on September 11, 2023, 01:55:16 PMThis works really great, so thanks again!
You're welcome. Don't overdo it, though. Unless you work with smaller databases or you have a beefy PC.