[Aptitude-devel] Bug#962926: Bug#962926: Images of aptitude screens are illegible due to being scaled to browser width

David Kalnischkies david at kalnischkies.de
Mon Mar 8 15:41:11 GMT 2021

On Mon, Mar 08, 2021 at 04:11:42PM +0100, David Kalnischkies wrote:
> ```css
> .screenshot { text-align: center; }
> .screenshot img { width: 100%; max-width: max-content; }
> ```

And of course, I forgot to mention:
.screenshot img { image-rendering: crisp-edges; }
which might be helpful regardless of adopting the previous stanza as it
hints the renderer to not use a "smooth" scaling algorithm more suited
for normal pictures and instead be more pixely which looks more like
a terminal would look like.

Different browsers use different scaling algorithms and different
heuristics if left to their own devices which could explain why the
initial reporter saw blur while Axel isn't.

Best regards

David Kalnischkies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20210308/a26a6076/attachment.sig>

More information about the Aptitude-devel mailing list