Osu-web: Taking an .png avatar forces it to .jpg

Created on 28 Nov 2017  Â·  12Comments  Â·  Source: ppy/osu-web

well, and that's bad when your avatar has some transparency in it

there's a thread about it: https://osu.ppy.sh/forum/t/668284

proposal

Most helpful comment

The current answer is "use non-transparent avatars"

All 12 comments

I believe we are still mixed about whether we should support transparent avatars at all. If anything we may add an editor which allows the user to choose the background colour. For not I'd recommend setting it yourself using a free image editor.

Sticking with jpeg only keeps file size down and also keeps consistency, especially in the client.

It's mostly for design and performance reasons – we don't need to display a background layer behind every avatar just in case it's semi-transparent.

Also, for that background idea, maybe use PIL and a short python script?

While I understand performance reasons. Unless forcing jpg / no alpha would be very beneficial, I'd probably prefer it stay really. I'd say a fair amount of users prefer the style, including myself.

What style? If it's always displayed against a single colour background what's the issue with baking that background in?

I guess there is more of a difference In-game, compared to the website. I guess it's just nicer to have the Background of whatever is going in the game behind / around your character, name, logo (whatever you got) as opposed to a solid color box. It just looks cleaner.

Transparency doesn't mean much on Forums, maybe just in-game.

That would require multiple avatar images to be stored though.

any word on what is going to happen with this?

(had a friend email me earlier asking about this issue)

The current answer is "use non-transparent avatars"

Peppy please keep transparency, while i do understand that server hdd space has costs, and png use more resources (almost negligible to be honest) and all its nice to have transparent background avatars, it just looks cleaner and lots of players use them. clean clean

That is the opposite of clean.

Closing this for now as it's not really open for discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shortthu picture shortthu  Â·  5Comments

peppy picture peppy  Â·  4Comments

aticie picture aticie  Â·  5Comments

Xinnoh picture Xinnoh  Â·  4Comments

TicClick picture TicClick  Â·  5Comments