Bug 403082

Summary: Allow to produce a Screenshot in Geolocator
Product: [Applications] digikam Reporter: Hans-Peter <hans-ph>
Component: Geolocation-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version First Reported In: 5.9.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.3.0
Sentry Crash Report:

Description Hans-Peter 2019-01-10 20:01:10 UTC
Allow to produce a Screenshot in Geolocator


When editing geo-info of images, allow to save a screenshot of the map. While it is easy to do with an external screenshot tool, this is even more comfortable and the screenshot could automatically be saved in the album from where the images origin (if they are from the same album).
Comment 1 caulier.gilles 2023-12-22 13:51:01 UTC
Maik,

This feature can be add easily with Qt6. There are new API to capture a part of screen.

https://doc.qt.io/qt-6/qtmultimedia-screencapture-example.html

Originally, marble have the feature using ffmpeg CLI but i dropped this code (Tour function).

Gilles Caulier
Comment 2 caulier.gilles 2024-01-01 16:07:29 UTC
Git commit db74eb01dd021fbfdbff02ca67b11a02b0476946 by Gilles Caulier.
Committed on 01/01/2024 at 16:52.
Pushed by cgilles into branch 'master'.

add new option to Geolocation menu to take a screenshot of the MapWidget and save as JPEG, PNG, TIFF...
FIXED-IN: 8.3.0

M  +6    -0    core/utilities/geolocation/geoiface/backends/backendgooglemaps.cpp
M  +6    -0    core/utilities/geolocation/geoiface/backends/backendmarble.cpp
M  +142  -0    core/utilities/geolocation/geoiface/backends/mapbackend.cpp
M  +4    -0    core/utilities/geolocation/geoiface/backends/mapbackend.h

https://invent.kde.org/graphics/digikam/-/commit/db74eb01dd021fbfdbff02ca67b11a02b0476946