Avatars aren't downscaled nicely

by malmon

malmon
mjał
Neko
Posts: 3,429
Threads: 42
Joined: Nov 2015
Reputation: 21
01-15-2017, 05:43 PM (This post was last modified: 01-15-2017, 05:47 PM by malmon.)
#65022 (1)
I just spruced mine up a bit and increased it to 200x200. Looks nice and sharp on my profile, but is rather blurry on my forum posts. Seems like some resampling could be done better.

[Image: 68747470733a2f2f752e6e79612e69732f796366707a6d2e706e67]

From left to right: scaled image used in forum posts, image used for avatar, imaged scaled with Fant to 150x150
The latter two look much sharper than the first one

Edit: messing around with Chromium's zoom levels actually suggests it's a clientside issue. It looks sharp for ~0.5s, then it loses its sharpness when I assume the browser does the resampling. Perhaps it would be better to just generate the required images serverside, and serve those as appropriate?

„Mad in Madrid, must be the wine, Señor~”
Steph
Hehe~
Posts: 1,002
Threads: 10
Joined: Nov 2015
Reputation: 7
01-15-2017, 05:55 PM
#65023 (2)
Looks pretty sharp to me

[Image: 68747470733a2f2f6177772e6d6f652f77716c6f32672e706e67]
Clickbait
unlucky
bulli
Posts: 4,049
Threads: 221
Joined: Jul 2014
Reputation: 66
01-15-2017, 07:21 PM (This post was last modified: 01-15-2017, 07:21 PM by Clickbait.)
#65028 (3)
(01-15-2017, 05:55 PM)RX14 Wrote: Looks pretty sharp to me

[Image: 68747470733a2f2f6177772e6d6f652f77716c6f32672e706e67]

same: [Image: 68747470733a2f2f752e6e79612e69732f7076616172672e706e67]

malmon
mjał
Neko
Posts: 3,429
Threads: 42
Joined: Nov 2015
Reputation: 21
01-15-2017, 08:00 PM
#65029 (4)
Yeah, your images look good. Any ideas why my Chromium is messing it up then?

„Mad in Madrid, must be the wine, Señor~”
Clickbait
unlucky
bulli
Posts: 4,049
Threads: 221
Joined: Jul 2014
Reputation: 66
01-15-2017, 08:46 PM
#65031 (5)
(01-15-2017, 08:00 PM)malmon Wrote: Yeah, your images look good. Any ideas why my Chromium is messing it up then?

are you zoomed in or something

malmon
mjał
Neko
Posts: 3,429
Threads: 42
Joined: Nov 2015
Reputation: 21
01-15-2017, 08:58 PM
#65032 (6)
(01-15-2017, 08:46 PM)Clickbait Wrote:
(01-15-2017, 08:00 PM)malmon Wrote: Yeah, your images look good. Any ideas why my Chromium is messing it up then?

are you zoomed in or something

No - I thought that the comparison image would've made that rather obvious :P

„Mad in Madrid, must be the wine, Señor~”