biigle / core

:large_blue_circle: Application core of BIIGLE
https://biigle.de
GNU General Public License v3.0
13 stars 15 forks source link

Add scalebar to screenshot #573

Open mzur opened 1 year ago

mzur commented 1 year ago

Discussed in https://github.com/orgs/biigle/discussions/571

Originally posted by **aburfeid** April 25, 2023 Hi Everyone, we were thinking, that it would be great if the BIIGLE-screenshot was able to contain the scalebar. We can of course use the snipping tool or screenshot functions of the computer, but the other BIIGLE-tools are still visible. I have searched for a similar topic but found none. Thanks for your help and thanks for BIIGLE! Best wishes, Andrea
mzur commented 1 year ago

Thanks for the suggestion @aburfeid! While the scalebar of the user interface cannot simply be added to the screenshot, a new "artificial" scale bar could be drawn onto it. It should be drawn automatically on the screenshot whenever the image has scale information and the scale bar is enabled. It can just be a white line with a black border and a label with the scale (similar to what you see in biology papers).