SUMMARY BQM removes all tags and star ratings. STEPS TO REPRODUCE 1. Select file with tags and stars 2. Run BQM script with setting to overwrite file OBSERVED RESULT 3. File is converted but tags and stars are removed EXPECTED RESULT 3. File is converted and tags and stars are retained Appeared in appImage 8.2.0
Please post your script that you are using. The database metadata is applied to the target image. I can't reproduce any issue. Have you considered that if your script doesn't create a new image, you have to first copy the input image to the target image in the script? https://docs.digikam.org/en/batch_queue/custom_script.html#custom-script Maik
Example script which worked perfectly before is as simple as: cp $INPUT $OUTPUT convert -geometry 2048x2048 -sharpen 2 -quality 85 -strip $INPUT $OUTPUT I can't grasp the nuances you suggest from documentation given (first copying input to target).
Sry, I sent wrong script. I'll check one thing from the correct one before sending it.
Ok, I have workflow where I first run custom shell script then use built in "Assign Labels" feature to mark it with colour label, which creates the problem. Running custom script only works fine. So the problem is actually in this built in feature.
Git commit ec5521fd8a96582d2d173dbef65516e8343a11bb by Maik Qualmann. Committed on 26/12/2023 at 17:27. Pushed by mqualmann into branch 'master'. adjust metadata scanning in the BQM FIXED-IN: 8.3.0 M +1 -1 NEWS M +12 -2 core/utilities/queuemanager/manager/actionthread.cpp https://invent.kde.org/graphics/digikam/-/commit/ec5521fd8a96582d2d173dbef65516e8343a11bb
Another note on Comment 2, copying from $INPUT to $OUTPUT is not necessary in the example because "convert" creates a file. Copying is only necessary if no new file is created, BQM always expects a new file on $OUTPUT. Maik
Thx for explanation. Will try to simplify my scripts. (Still hoping for feature to run these scripts directly by left clicking images. You have abundance of technical features included which is great, but at some places usability improvements would be very helpful. Thank you for your work.)