Insert a screenshot image taken on a HiDPI display

I'm using Pop!_OS 20.10 (Linux) and I have a HiDPI (3840 x 2160) display. If I take a screenshot and paste it into Joplin, it is displayed at twice the original size on the screen. Since HiDPI displays are quite common these days, I imagine this is a problem for many people.

I often include screenshots in my notes, so I want an automatic way for the screenshot to be displayed at the correct size without losing resolution. If I scale the screenshot to 50% using image conversion, this reduces the number of pixels, which means I lose resolution. So that's no good.

In general, I don't like to use the Rich Text editor because it doesn't use any customization in userstyle.css, but if I do use it, I can manually resize the image to make it smaller, which turns the markdown into an <img> tag with width and height attributes set. But changing to the Rich Text editor is inconvenient, and the resizing has to be done by eye, or by watching the tooltip and doing some mental calculations to get 50%.

I'm happy for the solution to involve an <img> tag in the markdown, but I want a way to set the width automatically as half the image width of the captured screenshot.

Any ideas?

Thanks in advance.

Joplin 1.7.11 (prod, linux)

Client ID: 477023d1d5c7408798d45e25a4b9538b
Sync Version: 2
Profile Version: 34
Keychain Supported: No

Revision: f560563 (master)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.