Digikam Auto-rotate (AI) not working in batch mode

Hi there,

I’ve got a bunch of scanned slides (like the analog photographs back in the day…) that I’d like to auto-rotate with the batch tool.

However, trying to use digikam (8.8.0 is installed) auto-rotate feature doesn’t seem to work.

Here’s the output after enabling export QT_LOGGING_RULES="digikam*=true"

digikam.general: Threads Pool “QueueMngrThread” will use 1 threads
digikam.general: Action Thread run 1 new jobs
digikam.general: Tool : index= 1 :: name= “AutoRotate” :: group= Digikam::BatchTool::TransformTool :: wurl= QUrl(“file:///my/path/”)
digikam.general: path: “/my/path/BatchTool-Mftamv-dcd61260.digikamtempfile.jpg”
digikam.general: Tool: “Auto-Rotate”
digikam.general: Input url: QUrl(“file:///my/path/00832.jpg”)
digikam.general: Output url: QUrl(“file:///my/path/BatchTool-Mftamv-dcd61260.digikamtempfile.jpg”)
digikam.autorotate: AutoRotate model ready
digikam.autorotate: AutoRotator::rotationAngle Rotation angle: 89.9071 Elapsed time: 492 ms
digikam.general: mimetype = “JPEG” ext = “JPG”
digikam.metaengine: Loading metadata with “Exiv2” backend from “/my/path/00832.jpg”
digikam.general: mimetype = “JPEG” ext = “JPG”
digikam.general: ExifRotate: Transformation is not perfect
digikam.general: JPEG lossless transform failed for “/my/path/00832.jpg”
digikam.general: One job is done Digikam::ActionTask(0x55b551cf51b0) time: 584
digikam.general: List of Pending Jobs is empty
digikam.general: Event is dispatched using KDE desktop notifier

In digikams Batch Queue Manager, I get the messages

Failed to process item

Failed to process item

Failed to create file

However, selecting a single image in the main windows preview pane, opening the context menu (right mouse button) and selecting “Rotate → Auto rotate” works (not always with the desired result, but it does something).

Is this a known issue or is somebody able to confirm? Couldn’t find anything on bugs.kde.org except https://bugs.kde.org/show_bug.cgi?id=502487 which reads like it’s actually the opposite of my bug? I’ll open a bug report if it’s not a “me”-problem.