oyranos-cms / oyranos

Colour Management System
https://gitlab.com/oyranos/oyranos
Other
19 stars 6 forks source link

meta filtering #30

Closed beku closed 7 years ago

beku commented 7 years ago

oy-profiles allows to filter for different profiles and as is be used in various Synnefo profile choosers. One for Oyranos new possibility would be to select by meta data. Currently only device related data (EDID/EXIF/...) is considered. It would make sense to filter for meta data. oyProfiles_Rank() provides an API to do this. However its complicated. It would be more clever to integrate a meta request (key/value pair) into a dummy profile for use filter pattern and pass that to the oyProfiles_Create() API. That way it works like the new file name pattern from the last release (0.9.6).

beku commented 7 years ago

It would be good to keep the expensive dict tag data attached to the profile. Possibly we simply extent the profile by a meta property?

beku commented 7 years ago

The oy-profiles --meta option was added and now its usable.