Simone Gotti
1098966a8b
Add optional image rank/color load/save from/to xmp sidecar
...
Add optional ability to load/save image rank property from/to xmp
sidecar "xmp.Rating" and color property from xmp "xmp.Label" ignoring
the ones provided in the processing params file.
This behavior is disabled by default and an option under settings ->
file browser has been added to enable it.
When enabled:
* On load:
* rank and color are not read from processing params.
* rank is mapped from xmp sidecar file rating entry.
* color is mapped from xmp sidecar file label entry.
* On save:
* rank and color are saved to the xmp sidecar
* rank and color are also saved to the processing param (pp3) files to
keep them in sync
Rating mapping:
Since rating can be also -1 but rank only goes from 0 to 5, the -1 value
is ignored like already done when importing from embedded xmp data.
Color mapping:
XMP has no color concept, usually programs like digikam uses the label
field to write a color name ("Red", "Orange"). The problem is that this
isn't standardized and label can be any string. Additionally Rawtherapee
has 5 specific colors while other programs can have different colors
with different name so they won't be shown if they don't map to the 5
color names supported by rawtherapee. On save only the 5 color supported
by rawtherapee wil be saved.
Trash is kept only in the profile files for multiple reasons:
* There's no trash concept in xmp, there's the rejected concept assigned
to a rating == -1.
* We could map rejected to trash but in rawtherapee rank and trash are two different values and
an image can have both rank >= 0 and trashed set to true.
Using an unique value like rating for rank and trash (when -1) will
require changing the current rawtherapee logic.
* Also digikam only handles ratings from 0 to 5 (no -1) and handles
trash in its own internal way without reflecting it in the xmp
sidecar.
2024-04-03 20:06:14 +02:00
..
2023-04-15 16:58:52 -07:00
2023-08-12 18:03:41 +02:00
2022-05-01 16:13:27 -07:00
2024-03-06 19:10:49 +01:00
2024-01-06 16:00:19 -05:00
2023-10-13 11:12:37 +02:00
2022-08-19 16:47:28 +02:00
2023-09-05 09:48:43 +02:00
2022-08-27 11:37:59 +02:00
2024-03-06 19:10:49 +01:00
2024-02-10 13:49:19 -05:00
2023-07-29 17:37:13 -07:00
2023-07-29 17:37:13 -07:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-07-16 16:17:57 -07:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2020-08-13 13:10:33 +02:00
2023-08-24 13:48:07 +02:00
2023-05-14 18:18:27 -07:00
2023-08-13 17:09:49 +12:00
2023-05-14 18:18:27 -07:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2023-03-19 07:47:58 +01:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2023-08-28 09:43:09 -07:00
2022-08-19 16:47:28 +02:00
2021-02-17 11:44:25 +01:00
2023-04-29 11:24:55 +02:00
2023-03-20 07:38:48 +01:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2020-05-28 12:26:14 +02:00
2023-08-24 13:48:07 +02:00
2023-08-24 13:48:07 +02:00
2024-03-09 07:36:46 +01:00
2023-11-11 16:56:34 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2024-03-06 19:10:49 +01:00
2023-10-20 13:02:43 +02:00
2022-08-19 16:47:28 +02:00
2022-08-19 16:47:28 +02:00
2020-11-24 17:16:41 +01:00
2022-12-25 15:35:25 +01:00
2021-04-02 07:36:42 +02:00
2023-03-11 11:02:29 +01:00
2023-01-02 15:37:07 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-02-14 17:48:37 +01:00
2022-12-25 15:35:25 +01:00
2020-07-15 11:38:03 +02:00
2024-03-06 19:10:49 +01:00
2023-09-05 09:48:43 +02:00
2024-03-08 10:46:26 +01:00
2023-12-16 11:10:11 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2022-12-31 10:51:30 +01:00
2022-12-31 10:51:30 +01:00
2020-11-24 17:16:41 +01:00
2023-05-21 15:25:42 -07:00
2023-09-05 09:48:43 +02:00
2023-08-29 22:58:51 -07:00
2023-08-24 13:48:07 +02:00
2023-08-24 13:48:07 +02:00
2023-10-13 19:10:21 +02:00
2024-02-04 15:43:33 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-08-24 13:48:07 +02:00
2023-08-24 13:48:07 +02:00
2022-12-13 19:26:25 +01:00
2022-12-13 19:26:25 +01:00
2023-09-05 09:48:43 +02:00
2023-04-09 13:52:09 -07:00
2023-08-13 17:09:49 +12:00
2023-08-13 17:09:49 +12:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2022-08-19 16:47:28 +02:00
2021-02-17 11:44:25 +01:00
2024-03-30 09:46:02 +01:00
2023-08-13 17:09:49 +12:00
2023-09-05 09:48:43 +02:00
2023-09-05 09:48:43 +02:00
2024-03-30 09:46:02 +01:00
2023-06-10 18:28:17 -07:00
2023-08-13 17:09:49 +12:00
2021-12-12 17:50:12 -08:00
2022-08-19 16:47:28 +02:00
2022-08-19 16:47:28 +02:00
2023-09-05 09:48:43 +02:00
2023-08-19 00:17:10 +02:00
2023-01-02 15:37:07 -08:00
2021-12-11 21:21:54 -08:00
2022-12-13 19:26:25 +01:00
2023-10-13 11:12:37 +02:00
2022-12-25 15:35:25 +01:00
2024-03-06 19:10:49 +01:00
2023-01-02 15:37:07 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2023-09-05 09:48:43 +02:00
2023-09-05 09:48:43 +02:00
2023-08-12 18:03:41 +02:00
2023-08-12 18:03:41 +02:00
2022-08-19 16:47:28 +02:00
2021-02-17 11:44:25 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2022-08-19 16:47:28 +02:00
2024-03-07 10:37:54 +01:00
2024-03-07 10:37:54 +01:00
2023-08-23 13:43:07 +02:00
2021-02-17 11:44:25 +01:00
2021-02-17 11:44:25 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2022-08-19 16:47:28 +02:00
2022-08-19 16:47:28 +02:00
2022-08-19 16:47:28 +02:00
2021-05-08 11:48:18 -07:00
2023-08-24 13:48:07 +02:00
2022-12-10 11:05:14 -08:00
2023-02-03 21:58:34 -08:00
2023-02-03 21:58:34 -08:00
2022-12-27 15:59:30 +01:00
2022-12-27 15:59:30 +01:00
2023-03-11 11:02:29 +01:00
2021-12-19 14:51:47 -08:00
2021-05-22 15:50:35 -07:00
2024-03-06 19:10:49 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2024-02-04 15:43:33 -08:00
2023-06-05 06:40:57 +02:00
2023-10-20 13:16:03 +02:00
2024-03-06 19:10:49 +01:00
2024-02-04 15:38:04 -08:00
2023-08-23 13:43:07 +02:00
2024-02-04 15:43:33 -08:00
2022-08-21 15:45:07 +02:00
2022-08-19 16:47:28 +02:00
2023-08-13 17:09:49 +12:00
2023-09-05 09:48:43 +02:00
2023-08-13 17:09:49 +12:00
2022-12-10 09:56:36 -08:00
2022-12-10 09:56:36 -08:00
2023-08-13 17:09:49 +12:00
2023-07-04 17:52:01 -07:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2023-08-13 17:09:49 +12:00
2023-05-28 18:15:27 -07:00
2024-04-03 20:06:14 +02:00
2024-04-03 20:06:14 +02:00
2024-02-04 15:38:04 -08:00
2024-02-04 15:38:04 -08:00
2023-02-05 18:39:23 -08:00
2023-02-05 18:39:23 -08:00
2023-08-13 17:09:49 +12:00
2022-12-10 12:15:27 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2023-09-05 09:48:43 +02:00
2021-02-17 11:44:25 +01:00
2024-02-04 15:43:33 -08:00
2023-08-24 13:48:07 +02:00
2023-08-24 13:48:07 +02:00
2023-03-19 07:47:58 +01:00
2024-04-03 20:06:14 +02:00
2024-04-03 20:06:14 +02:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2020-08-13 13:10:33 +02:00
2023-11-11 16:56:34 -08:00
2022-12-13 11:47:56 +01:00
2022-12-13 11:47:56 +01:00
2022-08-19 16:47:28 +02:00
2022-12-04 17:27:02 -08:00
2023-08-12 18:03:41 +02:00
2022-08-19 16:47:28 +02:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-02-17 11:44:25 +01:00
2021-02-17 11:44:25 +01:00
2021-02-25 17:49:05 +01:00
2021-12-19 14:51:47 -08:00
2021-12-19 14:51:47 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-03-11 11:02:29 +01:00
2021-12-11 21:21:54 -08:00
2023-08-13 17:09:49 +12:00
2021-08-14 16:05:11 -07:00
2023-10-13 11:12:37 +02:00
2023-03-11 11:03:19 +01:00
2023-10-13 11:12:37 +02:00
2023-10-13 11:12:37 +02:00
2023-10-13 11:12:37 +02:00
2023-10-13 11:12:37 +02:00
2023-09-05 09:48:43 +02:00
2023-08-06 16:44:54 -07:00
2022-09-23 18:09:44 +02:00
2023-03-02 09:17:01 +01:00
2023-03-01 12:47:55 +01:00
2021-12-19 14:51:47 -08:00
2021-12-19 14:51:47 -08:00
2021-12-19 14:51:47 -08:00
2021-12-19 14:51:47 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-10-13 19:10:21 +02:00
2022-12-25 15:35:25 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-08-13 17:09:49 +12:00
2023-08-23 13:43:07 +02:00
2022-08-19 16:47:28 +02:00
2023-03-11 11:02:29 +01:00
2023-01-02 15:37:07 -08:00
2023-09-17 15:14:09 -07:00
2023-09-17 15:14:10 -07:00
2022-08-19 16:47:28 +02:00
2021-02-17 11:44:25 +01:00
2022-12-25 15:35:25 +01:00
2022-12-25 15:35:25 +01:00
2023-08-12 18:03:41 +02:00
2023-01-02 21:27:12 +01:00
2023-08-23 13:43:07 +02:00
2023-03-11 11:02:29 +01:00
2023-11-11 16:56:34 -08:00
2023-07-29 17:37:13 -07:00
2024-04-03 20:06:14 +02:00
2024-04-03 20:06:14 +02:00
2023-07-29 17:37:13 -07:00
2023-02-09 07:14:20 +01:00
2023-02-09 07:14:20 +01:00
2023-08-12 18:20:27 +02:00
2023-02-06 21:44:57 -08:00
2022-08-19 16:47:28 +02:00
2021-02-17 11:44:25 +01:00
2020-07-31 21:58:00 -07:00
2023-09-05 12:45:32 +02:00
2021-11-26 21:01:37 -08:00
2023-08-12 18:03:41 +02:00
2023-06-25 17:42:34 -07:00
2023-12-12 22:15:04 -08:00
2023-08-24 13:48:07 +02:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2023-03-11 11:02:29 +01:00
2023-01-02 15:37:07 -08:00
2023-03-19 07:47:58 +01:00
2024-03-06 19:10:49 +01:00
2024-03-06 19:10:49 +01:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2021-12-11 21:21:54 -08:00
2022-08-19 16:47:28 +02:00