SUMMARY The Export to local storage tool offers some options that do not seem to work. My library is set up such that raw files and jpg files get xmp sidecar files. Those raw files and jpg files are read-only. Whenever I edit tags/captions, those are stored in the xmp file of the raw file and in the xmp file of the jpg. The motivation for this workflow is that my jpg files remain untouched and do not need to be backed up again after editing tags/captions. Sometimes I do wish to share jpg files with friends and I may then want to include data from the .jpg.xmp file in the exported jpg file. This is where I intend to use the "Export to local storage" tool. STEPS TO REPRODUCE 1. Select a jpg file that has an accompanying xmp file where tags/captions are stored 2. Open Tools / Export to local storage 2.a Choose "Copy files", tick "Write sidecar metadata to the items", export 2.b Same as 2.a, but "Adjust image properties" ticked as well. 2.c Enter Image length 7000 OBSERVED RESULT 2.a The exported jpg file is simply a copy of the original one. Additional data from the sidecar file is not written into the exported jpg file. 2.b The exported jpg file has additional metadata embedded. 2.c Image length value stuck at 700 EXPECTED RESULT 2.a The exported jpg file has additional metadata embedded. 2.b The exported jpg file has additional metadata embedded. 2.c Image length value is 7000 Additionally, it would be nice to be able to enable jpg compression at a desired image quality level without resizing the images. The jpg files in my library were usually exported at 100% jpg quality setting, but when exporting them from digikam for sharing them with friends I would want, say, 95%. Maybe allow the imale length to be left blank and default to the dimensions of the original image? SOFTWARE/OS VERSIONS digiKam: 8.8.0 KDE Frameworks: 6.17.0 Qt: Using 6.9.1 and built against 6.9.1 Windows 10 Version 22H2 Build ABI: x86_64-little_endian-llp64 Kernel: winnt 10.0.19045 ADDITIONAL INFORMATION
Git commit d9d27f6951680ba6d6302f3ef9b84e5ec9060670 by Gilles Caulier. Committed on 08/11/2025 at 02:09. Pushed by cgilles into branch 'master'. Export to local computer online doc: MistralAI proof-reading and improvement of this section from the manual with OS specific limitations. Maik, please review the changes to see if all is fine for you: https://docs.digikam.org/en/export_tools/local_export.html M +53 -18 export_tools/local_export.rst https://invent.kde.org/documentation/digikam-doc/-/commit/d9d27f6951680ba6d6302f3ef9b84e5ec9060670
@baloe: No bug fixes from my side here about this tool with my last commit. Only doc fixes using MistralAi helpers (RST doc source + C++ source code analysis). Please take a look, and report here if necessary. Best regards Gilles Caulier
I can't reproduce the problem here; the sidecar metadata is correctly embedded in the exported image. Please note that the tool doesn't upscale images, it only reduces their size. Are your exported JPG images also write-protected? This could be the reason why the metadata isn't embedded in the copy. I'll test that. Maik
I can't reproduce the problem under Windows either, even when the source file is write-protected. What makes you so sure that the exported image doesn't contain any metadata from the XMP files? Maik
baloe Do you seen the last comment from Maik ? Gilles Caulier