💾 Archived View for bbs.geminispace.org › s › Lagrange-Issues › 100 captured on 2024-12-17 at 15:13:45. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
It looks like images (whether dsiplayed inline or in their own tab) that are smaller than the maximum width of a line of text get scaled up by a factor of 2. On my 2560x1440 monitor, running Lagrange maximised with UI scale factor 1.1, the maximum width of an image seems to be 1060 pixels. Images that are larger than this get scaled down (being able to view these at their original size is covered by issue #47), but images smaller than this get scaled up, making them blurry.
Have I accidentally enabled something in the preferences or is this the default behaviour? I would prefer images to be displayed without scaling.
Example page replicating the issue, all the images with widths less than 900 pixels are noticeably blurry compared to when downloaded and viewed outside Lagrange:
gemini://rainywhile.net/temp/images/
🐞 Issue #100 in s/Lagrange-Issues
Dec 08 · 9 days ago
🕹️ skyjake [mod...] · Dec 10 at 12:47:
That is the expected behavior. Small images are currently scaled a bit larger, up to 2x, to allow one to see them better.
There is a long list of improvements that could be done to the in-app image previews, however one simple improvement could be that the upscaling could be limited to non-blurry pixel doubling, if that fits inside the page width.